Merge lp://staging/~raharper/ubuntu-core-config/trunk.update-cloud-init-config-v2 into lp://staging/ubuntu-core-config
Status: | Work in progress |
---|---|
Proposed branch: | lp://staging/~raharper/ubuntu-core-config/trunk.update-cloud-init-config-v2 |
Merge into: | lp://staging/ubuntu-core-config |
Diff against target: |
43 lines (+6/-4) 3 files modified
etc/cloud/cloud.cfg.d/10_snappy.cfg (+3/-3) etc/cloud/ds-identify.cfg (+1/-0) etc/system-image/writable-paths (+2/-1) |
To merge this branch: | bzr merge lp://staging/~raharper/ubuntu-core-config/trunk.update-cloud-init-config-v2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Snappy Developers | Pending | ||
Review via email: mp+321318@code.staging.launchpad.net |
Description of the change
Update cloud-init configuration
- Add cloud-init datasource identify policy (ds-identify.cfg). The policy
configured requires cloud-init systemd generator to detect local
datasource to enable cloud-init, otherwise it will remain disabled.
- Enable cloud-init to use netplan renderer for network configurations
- Update writable-paths to sync /etc/cloud and /etc/cloud.cfg.d which
enables the default configuration of cloud-init in the core image to be
merged with configuration files which are added to the writable
partition.
- Dropped apt_configure configuration, it wasn't correct and cloud-init
now skips running this module if the system it's running on is
Ubuntu Core
Unmerged revisions
- 2. By Ryan Harper
-
Update cloud-init configuration
- Add cloud-init datasource identify policy (ds-identify.cfg). The policy
configured requires cloud-init systemd generator to detect local datasource
to enable cloud-init, otherwise it will remain disabled.
- Enable cloud-init to use netplan renderer for network configurations
- Update writable-paths to sync /etc/cloud and /etc/cloud.cfg.d which enables
the default configuration of cloud-init in the core image to be merged with
configuration files which are added to the writable partition.
- Dropped apt_configure configuration, it wasn't correct and cloud-init now
skips running this module if the system it's running on is Ubuntu Core
Marked WIP until some cloud-init bugs are landed:
cloud-init with netplan support will handle working with the built-in netplan /pad.lv/ bug=1675576)
config in UC16 images (https:/
Adjust apt_configure config to keep it disabled (https:/ /pad.lv/ bug=1675185)