← Back to team overview

cloud-init-dev team mailing list archive

[Merge] lp:~smoser/cloud-init/trunk.lp1602373 into lp:cloud-init

 

The proposal to merge lp:~smoser/cloud-init/trunk.lp1602373 into lp:cloud-init has been updated.

Commit Message changed to:

ConfigDrive: fix writing of 'injected' files and legacy networking

Previous commit inadvertently disabled the consumption of 'injected' files
in configdrive (openstack server boot --file=/target/file=local-file)
unless the datasource was in 'pass' mode.  The default mode is 'net' so
that would never happen.

Also here are:
a.) some comments to apply_network_config
b.) add backwards compatibility for distros that do not yet implement
    apply_network_config by converting the network config into ENI format
    and calling apply_network.

    This is required because prior to the previous commit, those distros
    would have had 'apply_network' called with the openstack provided
    ENI file.  But after this change they will have apply_network_config
    called by cloudinit's main.

c.) add network_state_to_eni for converting net config to eni
    it supports the not-actually-correct 'hwaddress' field in ENI

For more details, see:
https://code.launchpad.net/~smoser/cloud-init/trunk.lp1602373/+merge/300021
-- 
Your team cloud init development team is requested to review the proposed merge of lp:~smoser/cloud-init/trunk.lp1602373 into lp:cloud-init.


References