Open ubuntu-server-builder opened 1 year ago
Launchpad user kimsia sim(kimsia) wrote on 2022-06-07T09:09:43.404736+00:00
Launchpad attachments: cloud-init.tar.gz
Launchpad user James Falcon(falcojr) wrote on 2022-06-07T13:58:24.344143+00:00
If you look at the docs (https://cloudinit.readthedocs.io/en/latest/topics/modules.html#users-and-groups), the key name is ssh_authorized_keys rather than ssh-authorized-keys. The latter is deprecated, though it looks like a deprecation warning was missed.
This should work with no warnings:
package_update: true package_upgrade: true users:
Launchpad user kimsia sim(kimsia) wrote on 2022-06-07T16:37:52.005312+00:00
Thank you. I will try this out and come back to confirm later.
This bug was originally filed in Launchpad as LP: #1977818
Launchpad details
Launchpad user kimsia sim(kimsia) wrote on 2022-06-07T09:09:43.404736+00:00
I get an invalid cloud-config warning despite everything working as expected.
This is the question i asked in superuser https://superuser.com/questions/1725127/invalid-config-for-cloud-init-but-apparently-still-works-how-do-i-remove-the
the cloud provider is DigitalOcean
this is not the full config
cloud-config
package_update: true package_upgrade: true users:
See attached for the logs