Skip to content

Comments

afterburn: set hostname for hetzner OEM#94

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

afterburn: set hostname for hetzner OEM#94
tormath1 merged 1 commit intoflatcar:flatcar-masterfrom
apricote:hetzner

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

Development

Successfully merging this pull request may close these issues.

2 participants