From 6386accbf4933ecb368d2f32b7db95583e03b525 Mon Sep 17 00:00:00 2001 From: Jay Faulkner Date: Wed, 10 Sep 2014 09:01:42 -0700 Subject: Only use vendordata under cloud-init key for ConfigDrive This data will be treated the same as vendordata from other sources. --- cloudinit/sources/DataSourceConfigDrive.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'cloudinit/sources/DataSourceConfigDrive.py') diff --git a/cloudinit/sources/DataSourceConfigDrive.py b/cloudinit/sources/DataSourceConfigDrive.py index 2456bc2e..83cc6b25 100644 --- a/cloudinit/sources/DataSourceConfigDrive.py +++ b/cloudinit/sources/DataSourceConfigDrive.py @@ -132,8 +132,6 @@ class DataSourceConfigDrive(openstack.SourceMixin, sources.DataSource): # for cloud-init (for namespacing). if 'cloud-init' in vd: self.vendordata_raw = vd['cloud-init'] - else: - self.vendordata_raw = vd return True -- cgit v1.2.3