From 25804c71df81f7094603c3a3ddcc1201b77371a4 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 16 Sep 2025 01:11:32 -0400 Subject: [PATCH] lang: core embedded: provisioner: Work with USB-free machines This feature was for machines that boot from USB keys. When we PXE boot, this should not fail when the file isn't missing. --- lang/core/embedded/provisioner/files/kickstart.ks.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/core/embedded/provisioner/files/kickstart.ks.tmpl b/lang/core/embedded/provisioner/files/kickstart.ks.tmpl index abe35f36..e4455876 100644 --- a/lang/core/embedded/provisioner/files/kickstart.ks.tmpl +++ b/lang/core/embedded/provisioner/files/kickstart.ks.tmpl @@ -86,6 +86,8 @@ done | paste -sd, -) # Output the ignoredisk directive to a temporary file. if [ "${usb_disks}" != "" ]; then echo "ignoredisk --drives=${usb_disks}" > /tmp/ignoredisk.ks +else + echo "# no ignoredisk directive" > /tmp/ignoredisk.ks fi %end %include /tmp/ignoredisk.ks