[azure] DataSourceAzure default config should be overridable with files in /etc/cloud.cfg.d/

Bug #1735008 reported by Paul Meyer on 2017-11-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

The Azure datasource has some hardcoded defaults for ephemeral disk mounting that can be overridden with cloud-config from userdata. However, we also need the ability to override the defaults for other distros/images, e.g. to mount on /mnt/resource by default (possibly overridden by userdata).
The proper way to provide defaults for an image would be to drop files in /etc/cloud/cloud.cfg.d/. However, since datasource config overrides local configuration, the local configuration is always ignored.
A possible solution might be a datasource config value that decides whether or not to add default configuration when the datasource loads.

Scott Moser (smoser) on 2017-12-12
Changed in cloud-init:
status: New → Confirmed
status: Confirmed → New
Scott Moser (smoser) on 2018-03-09
Changed in cloud-init:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers