Skip to content

Commit

Permalink
Draft for Proxmox support
Browse files Browse the repository at this point in the history
This makes use of coreos/afterburn#1023
to set up any static networking from the initrd (for Ignition) and the
hostname (early enough so that Ignition could overwrite it).
  • Loading branch information
pothos committed Mar 22, 2024
1 parent 19245b0 commit 8a9d244
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dracut/30ignition/flatcar-metadata-hostname.service
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ConditionKernelCommandLine=|flatcar.oem.id=vultr
# Addition:
ConditionKernelCommandLine=|coreos.oem.id=packet
ConditionKernelCommandLine=|flatcar.oem.id=packet
ConditionKernelCommandLine=|flatcar.oem.id=proxmoxve

OnFailure=emergency.target
OnFailureJobMode=isolate
Expand Down
2 changes: 1 addition & 1 deletion dracut/30ignition/ignition-generator
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@ if [ "${nopxe}" = 1 ]; then
add_requires "disk-uuid.service" initrd.target
fi

if [[ $(cmdline_arg flatcar.oem.id) == "digitalocean" ]] || [[ $(cmdline_arg coreos.oem.id) == "digitalocean" ]]; then
if [[ $(cmdline_arg flatcar.oem.id) == "digitalocean" ]] || [[ $(cmdline_arg coreos.oem.id) == "digitalocean" ]] || [[ $(cmdline_arg flatcar.oem.id) == "proxmoxve" ]]; then
add_requires flatcar-digitalocean-network.service initrd.target
fi

0 comments on commit 8a9d244

Please sign in to comment.