Only use vendordata under cloud-init key for ConfigDrive

This data will be treated the same as vendordata from other sources.
This commit is contained in:
Jay Faulkner 2014-09-10 09:01:42 -07:00
parent bb9375f4c5
commit 6e2c5b6209

View File

@ -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