Skip to content

Comments

afterburn: set ssh keys for hetzner OEM#118

Merged
tormath1 merged 1 commit intoflatcar:flatcar-masterfrom
apricote:hetzner
Apr 16, 2024
Merged

afterburn: set ssh keys for hetzner OEM#118
tormath1 merged 1 commit intoflatcar:flatcar-masterfrom
apricote:hetzner

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

Development

Successfully merging this pull request may close these issues.

2 participants