Skip to content

Commit 8a9d244

Browse files
committed
Draft for Proxmox support
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).
1 parent 19245b0 commit 8a9d244

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dracut/30ignition/flatcar-metadata-hostname.service

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ ConditionKernelCommandLine=|flatcar.oem.id=vultr
3333
# Addition:
3434
ConditionKernelCommandLine=|coreos.oem.id=packet
3535
ConditionKernelCommandLine=|flatcar.oem.id=packet
36+
ConditionKernelCommandLine=|flatcar.oem.id=proxmoxve
3637

3738
OnFailure=emergency.target
3839
OnFailureJobMode=isolate

dracut/30ignition/ignition-generator

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,6 @@ if [ "${nopxe}" = 1 ]; then
146146
add_requires "disk-uuid.service" initrd.target
147147
fi
148148

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

0 commit comments

Comments
 (0)