dracut: add hetzner cloud support by dedene · Pull Request #150 · coreos/bootengine · GitHub
Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions dracut/30ignition/coreos-static-hostname.service
3 changes: 3 additions & 0 deletions dracut/30ignition/ignition-generator
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ if $(cmdline_bool coreos.first_boot 0); then
if [[ $(cmdline_arg coreos.oem.id) == "packet" ]]; then
add_requires coreos-static-network.service
fi
if [[ $(cmdline_arg coreos.oem.id) == "hcloud" ]]; then
add_requires coreos-static-hostname.service
fi

# On EC2, shut down systemd-networkd if ignition fails so that the instance
# fails EC2 instance checks.
Expand Down
3 changes: 3 additions & 0 deletions dracut/30ignition/module-setup.sh