summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceNoCloud.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-03-20 12:33:29 -0400
committerScott Moser <smoser@ubuntu.com>2014-03-20 12:33:29 -0400
commit11d6dbfad89e3f9a56925f7671fa7ee3e86af918 (patch)
treeb94a8b7bc0297cdc790b801dccd2cbcaa48e3d19 /cloudinit/sources/DataSourceNoCloud.py
parent2fe478831680a270c456122fdeecc3c639a4ec62 (diff)
downloadvyos-cloud-init-11d6dbfad89e3f9a56925f7671fa7ee3e86af918.tar.gz
vyos-cloud-init-11d6dbfad89e3f9a56925f7671fa7ee3e86af918.zip
NoCloud: fix broken seedfrom on the kernel command line
This was broken in the VendorData add. LP: #1295223
Diffstat (limited to 'cloudinit/sources/DataSourceNoCloud.py')
-rw-r--r--cloudinit/sources/DataSourceNoCloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceNoCloud.py b/cloudinit/sources/DataSourceNoCloud.py
index 8dc96ab6..a315aae0 100644
--- a/cloudinit/sources/DataSourceNoCloud.py
+++ b/cloudinit/sources/DataSourceNoCloud.py
@@ -57,7 +57,7 @@ class DataSourceNoCloud(sources.DataSource):
md = {}
if parse_cmdline_data(self.cmdline_id, md):
found.append("cmdline")
- mydata.update(md)
+ mydata['meta-data'].update(md)
except:
util.logexc(LOG, "Unable to parse command line data")
return False