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 hostname for hetzner OEM #94

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

apricote
Copy link
Contributor

@apricote apricote commented Apr 11, 2024

Use Hostname from metadata service for Hetzner OEM

Enables the existing afterburn service flatcar-metadata-hostname.service for the Hetzner OEM. This will read the hostname of the server from the Hetzner Cloud metadata service in the init process, and configure the server to use this hostname.

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 used the correct hostname.

  • 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.

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