Comment 3 for bug 2060744

Revision history for this message
Brett Holman (holmanb) wrote :

From a discussion with the Juju team, it seems that perhaps cloud-config isn't supported in a generic sense, but rather Juju and allows a few specific cloud-config keys to be set by the user. This is at odds with the current docs, which say:

> The cloudinit-userdata allows the user to provide additional cloudinit data to be included in the cloudinit data created by Juju.
>
> Specifying a key will overwrite what juju puts in the cloudinit file with the following caveat

From the conversation we had, it sounds like the Juju team will want to decide whether we want to try to fully support cloud-config.

If so, the content in this original bug report is still relevant. If the preference is to only allow a few keys, then instead of what I described above I think we will want to rework the docs (and possibly userdata) to more correctly describe what works rather than implying (as it currently does) that all of cloud-config[1] is currently supported with just a few caveats.

[1] https://docs.cloud-init.io/en/latest/explanation/format.html#cloud-config-data