-
Notifications
You must be signed in to change notification settings - Fork 52
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
OEM: Provide Hetzner Images #1880
Conversation
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-hetzner/oem-hetzner-0.ebuild
Show resolved
Hide resolved
...container/src/third_party/coreos-overlay/coreos-base/afterburn/files/coreos-metadata.service
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-hetzner/oem-hetzner-0.ebuild
Show resolved
Hide resolved
@tormath1 built a preview image for this PR (9a4705a). It is available here for download: https://bincache.flatcar-linux.net/images/amd64/9999.0.0+hetzner/ I updated my Packer documentation to use this image instead of using a locally built one. New docs + Packer templates are available on a new branch: https://github.com/apricote/flatcar-packer-hcloud/tree/oem-image-prebuilt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good, thanks a lot! Feel free to add a changelog entry in the changes
folder: https://github.com/flatcar/scripts/tree/main/changelog/changes
...ner/src/third_party/coreos-overlay/coreos-base/common-oem-files/common-oem-files-0-r6.ebuild
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-init/coreos-init-9999.ebuild
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-9999.ebuild
Outdated
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks a lot for your contribution and your tests: it brings a solid foundation to the Flatcar / Hetzner support.
EDIT: I will backport to Alpha
Cherry-picked to:
|
Build action triggered: https://github.com/flatcar/scripts/actions/runs/8722688433 |
Provide Hetzner OEM images
Adds build instructions for Hetzner Cloud images.
Pulls in flatcar/init#118 and flatcar/bootengine#94 in a temporary commit, will be removed once they are merged and used in
main
.How to use
The process to setup a server using these changes is described here: https://github.com/apricote/flatcar-packer-hcloud/blob/oem-image/README.md
Testing done
I have built the image from this PR (based on an earlier nightly tag) and created a Hetzner Cloud server from it. I have tested the following (custom) functionality:
For the usual Hetzner Cloud OS images, there is some "magic" happening through hc-utils which is not included in this PR. I have not tested any functionality related to this.
changelog/
directory (user-facing change, bug fix, security fix, update)/boot
and/usr
size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.