From 11d6dbfad89e3f9a56925f7671fa7ee3e86af918 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 20 Mar 2014 12:33:29 -0400 Subject: NoCloud: fix broken seedfrom on the kernel command line This was broken in the VendorData add. LP: #1295223 --- cloudinit/sources/DataSourceNoCloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/sources') 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 -- cgit v1.2.3