Merge lp://qastaging/~raharper/ubuntu-core-config/trunk.update-cloud-init-config-v2 into lp://qastaging/ubuntu-core-config

Proposed by Ryan Harper
Status: Work in progress
Proposed branch: lp://qastaging/~raharper/ubuntu-core-config/trunk.update-cloud-init-config-v2
Merge into: lp://qastaging/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://qastaging/~raharper/ubuntu-core-config/trunk.update-cloud-init-config-v2
Reviewer Review Type Date Requested Status
Snappy Developers Pending
Review via email: mp+321318@code.qastaging.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

To post a comment you must log in.
Revision history for this message
Ryan Harper (raharper) wrote :

Marked WIP until some cloud-init bugs are landed:

cloud-init with netplan support will handle working with the built-in netplan
config in UC16 images (https://pad.lv/bug=1675576)

Adjust apt_configure config to keep it disabled (https://pad.lv/bug=1675185)

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: