summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-06-15 23:16:35 -0400
committerScott Moser <smoser@ubuntu.com>2016-06-15 23:16:35 -0400
commit8e5f63cb2f11ce08f7de1df23b8937305b91b707 (patch)
tree4a4272400490a7236a43ae951b3a13f0bdb57e3a
parentcfbf95f531f4e637fc707478e4ebbb5af39db355 (diff)
downloadvyos-cloud-init-8e5f63cb2f11ce08f7de1df23b8937305b91b707.tar.gz
vyos-cloud-init-8e5f63cb2f11ce08f7de1df23b8937305b91b707.zip
remove declaration of dsmode as local in DataSourceNoCloud
this would cause the datasource to operate in local mode by default.
-rw-r--r--cloudinit/sources/DataSourceNoCloud.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceNoCloud.py b/cloudinit/sources/DataSourceNoCloud.py
index 19d63950..cdc9eef5 100644
--- a/cloudinit/sources/DataSourceNoCloud.py
+++ b/cloudinit/sources/DataSourceNoCloud.py
@@ -34,7 +34,6 @@ LOG = logging.getLogger(__name__)
class DataSourceNoCloud(sources.DataSource):
def __init__(self, sys_cfg, distro, paths):
sources.DataSource.__init__(self, sys_cfg, distro, paths)
- self.dsmode = 'local'
self.seed = None
self.seed_dirs = [os.path.join(paths.seed_dir, 'nocloud'),
os.path.join(paths.seed_dir, 'nocloud-net')]