From 8783c39e49675b76b021015e2a375f5ddb24597c Mon Sep 17 00:00:00 2001 From: Enrique Llorente Date: Mon, 23 Oct 2023 14:50:08 +0200 Subject: [PATCH] kubevirt: Run afterburn-hostname service The KubeVirt platform is already supported by afterburn to set the hostname, also there is an official fedora coreos container disk to run it. This change include it in the list of platforms allowed to run afterburn hostname feature at startup. Signed-off-by: Enrique Llorente --- docs/release-notes.md | 1 + dracut/30afterburn/afterburn-hostname.service | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index 2d0b5ea4..adbaa8a3 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -15,6 +15,7 @@ Minor changes: - openstack: Add `OPENSTACK_INSTANCE_UUID` attribute - openstack-metadata: Add `OPENSTACK_INSTANCE_UUID` attribute - providers: Add Hetzner Cloud +- dracut: run hostname service on kubevirt Packaging changes: diff --git a/dracut/30afterburn/afterburn-hostname.service b/dracut/30afterburn/afterburn-hostname.service index e771d2b3..485cd82a 100644 --- a/dracut/30afterburn/afterburn-hostname.service +++ b/dracut/30afterburn/afterburn-hostname.service @@ -11,6 +11,7 @@ ConditionKernelCommandLine=|ignition.platform.id=digitalocean ConditionKernelCommandLine=|ignition.platform.id=exoscale ConditionKernelCommandLine=|ignition.platform.id=hetzner ConditionKernelCommandLine=|ignition.platform.id=ibmcloud +ConditionKernelCommandLine=|ignition.platform.id=kubevirt ConditionKernelCommandLine=|ignition.platform.id=scaleway ConditionKernelCommandLine=|ignition.platform.id=vultr