I have the same problem with precise cloudimg on Openstack Icehouse with config drive.
# update interfaces and ifup only on the local datasource
# this way the DataSourceConfigDriveNet doesn't do it also.
if 'network_config' in results and self.dsmode == "local": LOG.debug("Updating network interfaces from config drive (%s)", dsmode)
I have the same problem with precise cloudimg on Openstack Icehouse with config drive.
# update interfaces and ifup only on the local datasource gDriveNet doesn't do it also.
LOG. debug(" Updating network interfaces from config drive (%s)",
dsmode)
# this way the DataSourceConfi
if 'network_config' in results and self.dsmode == "local":
In 'get_data', this two lines above should be changed to
util.write_ file("/ etc/network/ interfaces" ,
results[ 'network_ config' ])
This seems to be a bug in the backport of config drive v2 support in 0.6.3-0ubuntu1.5.
http:// bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ precise/ cloud-init/ precise- updates/ revision/ 194#cloudinit/ DataSourceConfi gDrive. py