diff --git a/dracut/30ignition/flatcar-digitalocean-network.service b/dracut/30ignition/flatcar-afterburn-network.service similarity index 88% rename from dracut/30ignition/flatcar-digitalocean-network.service rename to dracut/30ignition/flatcar-afterburn-network.service index ddcaba1..76aa3df 100644 --- a/dracut/30ignition/flatcar-digitalocean-network.service +++ b/dracut/30ignition/flatcar-afterburn-network.service @@ -1,5 +1,5 @@ [Unit] -Description=Flatcar DigitalOcean Network Agent +Description=Flatcar Afterburn network service DefaultDependencies=false Before=initrd.target After=systemd-networkd.service initrd-root-fs.target diff --git a/dracut/30ignition/flatcar-metadata-hostname.service b/dracut/30ignition/flatcar-metadata-hostname.service index fc75732..323c62e 100644 --- a/dracut/30ignition/flatcar-metadata-hostname.service +++ b/dracut/30ignition/flatcar-metadata-hostname.service @@ -33,8 +33,10 @@ ConditionKernelCommandLine=|flatcar.oem.id=vultr # Addition: ConditionKernelCommandLine=|coreos.oem.id=packet ConditionKernelCommandLine=|flatcar.oem.id=packet + ConditionKernelCommandLine=|flatcar.oem.id=hetzner ConditionKernelCommandLine=|flatcar.oem.id=kubevirt +ConditionKernelCommandLine=|flatcar.oem.id=proxmoxve OnFailure=emergency.target OnFailureJobMode=isolate diff --git a/dracut/30ignition/ignition-generator b/dracut/30ignition/ignition-generator index 59bdf80..5ddbfab 100755 --- a/dracut/30ignition/ignition-generator +++ b/dracut/30ignition/ignition-generator @@ -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 - add_requires flatcar-digitalocean-network.service initrd.target +if [[ $(cmdline_arg flatcar.oem.id) == "digitalocean" ]] || [[ $(cmdline_arg coreos.oem.id) == "digitalocean" ]] || [[ $(cmdline_arg flatcar.oem.id) == "proxmoxve" ]]; then + add_requires flatcar-afterburn-network.service initrd.target fi diff --git a/dracut/30ignition/module-setup.sh b/dracut/30ignition/module-setup.sh index 51740db..bc8e314 100755 --- a/dracut/30ignition/module-setup.sh +++ b/dracut/30ignition/module-setup.sh @@ -99,14 +99,14 @@ install() { done # Flatcar: add ignition-quench.service, sysroot-boot.service, - # flatcar-digitalocean-network.service, flatcar-static-network.service, + # flatcar-afterburn-network.service, flatcar-static-network.service, # flatcar-metadata-hostname.service, flatcar-openstack-hostname.service inst_simple "$moddir/ignition-quench.service" \ "$systemdsystemunitdir/ignition-quench.service" inst_simple "$moddir/sysroot-boot.service" \ "$systemdsystemunitdir/sysroot-boot.service" - inst_simple "$moddir/flatcar-digitalocean-network.service" \ - "$systemdsystemunitdir/flatcar-digitalocean-network.service" + inst_simple "$moddir/flatcar-afterburn-network.service" \ + "$systemdsystemunitdir/flatcar-afterburn-network.service" inst_simple "$moddir/flatcar-static-network.service" \ "$systemdsystemunitdir/flatcar-static-network.service" inst_simple "$moddir/flatcar-metadata-hostname.service" \