Closed afbjorklund closed 6 months ago
The documented spelling of ssh-authorized-keys is actually invalid according to jsonschema, even if accepted by python.
https://github.com/canonical/cloud-init/blob/main/cloudinit/config/schemas/schema-cloud-config-v1.json
$ check-jsonschema --schemafile https://raw.githubusercontent.com/canonical/cloud-init/main/cloudinit/config/schemas/schema-cloud-config-v1.json --verbose cloud-config.yaml ... $.users[0]: Additional properties are not allowed ('ssh-authorized-keys' was unexpected)
@afbjorklund Let me know if you want a new release with this change!
The documented spelling of ssh-authorized-keys is actually invalid according to jsonschema, even if accepted by python.
https://github.com/canonical/cloud-init/blob/main/cloudinit/config/schemas/schema-cloud-config-v1.json