← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1735008

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

Status in cloud-init:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1735008/+subscriptions


Follow ups