summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceNoCloud.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-11 16:07:49 -0500
committerScott Moser <smoser@ubuntu.com>2016-03-11 16:07:49 -0500
commit24a5e31f5ad96cde75315ed488b6d5a011533936 (patch)
tree3c4adc6a43a9424dab718e76d8fa66b001d81fb7 /cloudinit/sources/DataSourceNoCloud.py
parentefd22ec256568b655c1dea1c61028b49b7fe04ab (diff)
downloadvyos-cloud-init-24a5e31f5ad96cde75315ed488b6d5a011533936.tar.gz
vyos-cloud-init-24a5e31f5ad96cde75315ed488b6d5a011533936.zip
minor changes use the helpers in cloudinit/net
functional
Diffstat (limited to 'cloudinit/sources/DataSourceNoCloud.py')
-rw-r--r--cloudinit/sources/DataSourceNoCloud.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceNoCloud.py b/cloudinit/sources/DataSourceNoCloud.py
index e00210e7..a3532463 100644
--- a/cloudinit/sources/DataSourceNoCloud.py
+++ b/cloudinit/sources/DataSourceNoCloud.py
@@ -195,7 +195,8 @@ class DataSourceNoCloud(sources.DataSource):
mydata['meta-data']['network-interfaces'])
elif mydata.get('network-config'):
LOG.debug("Updating network config from %s", self)
- self.distro.apply_network_config(mydata['network-config'])
+ self.distro.apply_network_config(mydata['network-config'],
+ bring_up=False)
if mydata['meta-data']['dsmode'] == self.dsmode:
self.seed = ",".join(found)