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

afterburn: set ssh keys for hetzner OEM #118

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

apricote
Copy link
Contributor

@apricote apricote commented Apr 11, 2024

Use SSH Keys from metadata service for Hetzner OEM

Enables the existing afterburn service for the hetzner OEM. This will read the SSH Key(s) that the user configured for the server from the metadata service, and add them to the core user.

How to use

Changes are pulled into flatcar/scripts in flatcar/scripts#1880. This also explains how to use/test them.

Testing done

I have referenced this commit in flatcar/scripts overlay and built a test image. A server created from this image did correctly read and configure the SSH Key. I was able to login and the file /home/core/.ssh/authorized_keys contained my key.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

RE the above checkboxes, I was not sure if I should add a changelog, some other recent PRs for Proxmox and Akamai did not add any changelog entries.

@tormath1 tormath1 merged commit 96e929d into flatcar:flatcar-master Apr 16, 2024
@apricote apricote deleted the hetzner branch April 16, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants