diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-03-20 12:33:29 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-03-20 12:33:29 -0400 |
commit | 11d6dbfad89e3f9a56925f7671fa7ee3e86af918 (patch) | |
tree | b94a8b7bc0297cdc790b801dccd2cbcaa48e3d19 /cloudinit/sources | |
parent | 2fe478831680a270c456122fdeecc3c639a4ec62 (diff) | |
download | vyos-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')
-rw-r--r-- | cloudinit/sources/DataSourceNoCloud.py | 2 |
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 |