Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look for ssh_authorized_keys without dashes #127

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

afbjorklund
Copy link
Member

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)

The documented spelling of ssh-authorized-keys is actually
invalid according to jsonschema, even if accepted by python.

Signed-off-by: Anders F Björklund <[email protected]>
lima-init.sh Show resolved Hide resolved
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@jandubois jandubois merged commit 0eee847 into lima-vm:main Apr 12, 2024
2 checks passed
@jandubois
Copy link
Member

@afbjorklund Let me know if you want a new release with this change!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants