diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-09-08 14:26:30 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-09-08 14:26:30 -0400 |
commit | 3c39c3f7638245e9581a2e1f4faae2dc2680f0c7 (patch) | |
tree | 3c057d8c3a397d0505d60e2531fc7d12dc329aa1 /cloudinit | |
parent | f5de3d5c481377d4f6fc7a6ca7986ed2b5966da4 (diff) | |
download | vyos-cloud-init-3c39c3f7638245e9581a2e1f4faae2dc2680f0c7.tar.gz vyos-cloud-init-3c39c3f7638245e9581a2e1f4faae2dc2680f0c7.zip |
NoCloud: fix consumption of vendor-data
the content of vendordata was was being assigned to vendordata,
rather than vendordata_raw. The result was that it is not processed
for includes or part handlers or other things as it is in other
datasources.
LP: #1493453
Diffstat (limited to 'cloudinit')
-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 6a861af3..4dffe6e6 100644 --- a/cloudinit/sources/DataSourceNoCloud.py +++ b/cloudinit/sources/DataSourceNoCloud.py @@ -190,7 +190,7 @@ class DataSourceNoCloud(sources.DataSource): self.seed = ",".join(found) self.metadata = mydata['meta-data'] self.userdata_raw = mydata['user-data'] - self.vendordata = mydata['vendor-data'] + self.vendordata_raw = mydata['vendor-data'] return True LOG.debug("%s: not claiming datasource, dsmode=%s", self, |