← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~bitfehler/cloud-init:bitfehler/load_seed into cloud-init:master

 

The proposal to merge ~bitfehler/cloud-init:bitfehler/load_seed into cloud-init:master has been updated.

Commit message changed to:

Support network-config if nocloud(-net) data source

This proposal adds a new function `load_seed` that can be used as a replacement for `read_seeded` and `read_optional_seed`, but has support for additional files (network-config, vendor-data).

The nocloud(-net) data source is updated to make use of it, adding support for network-config in user-supplied seeds. This addresses the following bugs:

https://bugs.launchpad.net/cloud-init/+bug/1809180
https://bugs.launchpad.net/cloud-init/+bug/1809277

The OVH and CloudStack datasources are also updated to use the new function, but without changing the data source semantics. Finally, as all previous callers have been updated, the old functions `read_seeded` and `read_optional_seed` are removed.

For more details, see:
https://code.launchpad.net/~bitfehler/cloud-init/+git/cloud-init/+merge/369814
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~bitfehler/cloud-init:bitfehler/load_seed into cloud-init:master.


References