Compatible issue between ubuntuSeedCloudCfg and <gadget>/cloud.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
High
|
Ian Johnson |
Bug Description
Current priority of cloud init configs in snapd [0] are:
1. gadget-cloud.conf
2. ubuntuSeedCloudCfg
these two configs can only choice one.
The scenario I'm facing is:
1. I have a cloud.conf in my gadget.
2. Maas is being used to deploy this customized core 20 image.
So since I have the cloud.conf in my gadget, after maas put the maas configs into ubuntuSeedCloudCfg, snpad will not use those maas cloud-init configs which makes the maas deployment failed.
And seems snapd team was considering about make it compatible as below comment[1], so please help to review this request and implement it, thank you:
// TODO:UC20: we may eventually want to consider both CloudInitSrcDir
// and the gadget cloud.conf so returning here may be wrong
[0] https:/
[1] https:/
tags: | added: oem-priority |
Changed in snapd: | |
importance: | Undecided → High |
Changed in snapd: | |
status: | Fix Committed → Fix Released |
Hi, can you explain a bit more your use case why you need both cloud-init in the gadget and cloud-init in ubuntu-seed ?