From b9b8593002afceda3eb2a9d57e731a9c450ae6cf Mon Sep 17 00:00:00 2001 From: Heather Lemon Date: Wed, 13 Sep 2023 08:45:08 -0600 Subject: [PATCH] adds bls config command option --- centos7/http/centos7.ks.in | 1 + centos8-stream/http/centos8-stream.ks.in | 1 + centos8/http/centos8.ks.in | 1 + rhel7/http/rhel7.ks.in | 1 + rhel8/http/rhel8.ks.in | 1 + rhel9/http/rhel9.ks.in | 1 + rocky8/http/rocky.ks.in | 1 + rocky9/http/rocky.ks.in | 1 + 8 files changed, 8 insertions(+) diff --git a/centos7/http/centos7.ks.in b/centos7/http/centos7.ks.in index f190ca0e..6a1f324b 100644 --- a/centos7/http/centos7.ks.in +++ b/centos7/http/centos7.ks.in @@ -40,6 +40,7 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-[^lo]* sed -i 's/^GRUB_TERMINAL=.*/GRUB_TERMINAL_OUTPUT="console"/g' /etc/default/grub sed -i '/GRUB_SERIAL_COMMAND="serial"/d' /etc/default/grub sed -ri 's/(GRUB_CMDLINE_LINUX=".*)\s+console=ttyS0(.*")/\1\2/' /etc/default/grub +sed -i 's/"GRUB_ENABLE_BLSCFG=.*"/"GRUB_ENABLE_BLSCFG=false"/g' /etc/default/grub yum clean all %end diff --git a/centos8-stream/http/centos8-stream.ks.in b/centos8-stream/http/centos8-stream.ks.in index e95fdee4..42990f6f 100644 --- a/centos8-stream/http/centos8-stream.ks.in +++ b/centos8-stream/http/centos8-stream.ks.in @@ -40,6 +40,7 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-[^lo]* sed -i 's/^GRUB_TERMINAL=.*/GRUB_TERMINAL_OUTPUT="console"/g' /etc/default/grub sed -i '/GRUB_SERIAL_COMMAND="serial"/d' /etc/default/grub sed -ri 's/(GRUB_CMDLINE_LINUX=".*)\s+console=ttyS0(.*")/\1\2/' /etc/default/grub +sed -i 's/"GRUB_ENABLE_BLSCFG=.*"/"GRUB_ENABLE_BLSCFG=false"/g' /etc/default/grub dnf clean all %end diff --git a/centos8/http/centos8.ks.in b/centos8/http/centos8.ks.in index d145f454..3bdf72b4 100644 --- a/centos8/http/centos8.ks.in +++ b/centos8/http/centos8.ks.in @@ -40,6 +40,7 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-[^lo]* sed -i 's/^GRUB_TERMINAL=.*/GRUB_TERMINAL_OUTPUT="console"/g' /etc/default/grub sed -i '/GRUB_SERIAL_COMMAND="serial"/d' /etc/default/grub sed -ri 's/(GRUB_CMDLINE_LINUX=".*)\s+console=ttyS0(.*")/\1\2/' /etc/default/grub +sed -i 's/"GRUB_ENABLE_BLSCFG=.*"/"GRUB_ENABLE_BLSCFG=false"/g' /etc/default/grub dnf clean all %end diff --git a/rhel7/http/rhel7.ks.in b/rhel7/http/rhel7.ks.in index d83195f9..695fe263 100644 --- a/rhel7/http/rhel7.ks.in +++ b/rhel7/http/rhel7.ks.in @@ -40,6 +40,7 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-[^lo]* sed -i 's/^GRUB_TERMINAL=.*/GRUB_TERMINAL_OUTPUT="console"/g' /etc/default/grub sed -i '/GRUB_SERIAL_COMMAND="serial"/d' /etc/default/grub sed -ri 's/(GRUB_CMDLINE_LINUX=".*)\s+console=ttyS0(.*")/\1\2/' /etc/default/grub +sed -i 's/"GRUB_ENABLE_BLSCFG=.*"/"GRUB_ENABLE_BLSCFG=false"/g' /etc/default/grub yum clean all %end diff --git a/rhel8/http/rhel8.ks.in b/rhel8/http/rhel8.ks.in index ff8d6bf2..9ee3846d 100644 --- a/rhel8/http/rhel8.ks.in +++ b/rhel8/http/rhel8.ks.in @@ -39,6 +39,7 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-[^lo]* sed -i 's/^GRUB_TERMINAL=.*/GRUB_TERMINAL_OUTPUT="console"/g' /etc/default/grub sed -i '/GRUB_SERIAL_COMMAND="serial"/d' /etc/default/grub sed -ri 's/(GRUB_CMDLINE_LINUX=".*)\s+console=ttyS0(.*")/\1\2/' /etc/default/grub +sed -i 's/"GRUB_ENABLE_BLSCFG=.*"/"GRUB_ENABLE_BLSCFG=false"/g' /etc/default/grub dnf clean all %end diff --git a/rhel9/http/rhel9.ks.in b/rhel9/http/rhel9.ks.in index ff8d6bf2..9ee3846d 100644 --- a/rhel9/http/rhel9.ks.in +++ b/rhel9/http/rhel9.ks.in @@ -39,6 +39,7 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-[^lo]* sed -i 's/^GRUB_TERMINAL=.*/GRUB_TERMINAL_OUTPUT="console"/g' /etc/default/grub sed -i '/GRUB_SERIAL_COMMAND="serial"/d' /etc/default/grub sed -ri 's/(GRUB_CMDLINE_LINUX=".*)\s+console=ttyS0(.*")/\1\2/' /etc/default/grub +sed -i 's/"GRUB_ENABLE_BLSCFG=.*"/"GRUB_ENABLE_BLSCFG=false"/g' /etc/default/grub dnf clean all %end diff --git a/rocky8/http/rocky.ks.in b/rocky8/http/rocky.ks.in index df326856..0e9beefa 100644 --- a/rocky8/http/rocky.ks.in +++ b/rocky8/http/rocky.ks.in @@ -65,6 +65,7 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-[^lo]* sed -i 's/^GRUB_TERMINAL=.*/GRUB_TERMINAL_OUTPUT="console"/g' /etc/default/grub sed -i '/GRUB_SERIAL_COMMAND="serial"/d' /etc/default/grub sed -ri 's/(GRUB_CMDLINE_LINUX=".*)\s+console=ttyS0(.*")/\1\2/' /etc/default/grub +sed -i 's/"GRUB_ENABLE_BLSCFG=.*"/"GRUB_ENABLE_BLSCFG=false"/g' /etc/default/grub yum clean all diff --git a/rocky9/http/rocky.ks.in b/rocky9/http/rocky.ks.in index 217f3372..68fef48b 100644 --- a/rocky9/http/rocky.ks.in +++ b/rocky9/http/rocky.ks.in @@ -65,6 +65,7 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-[^lo]* sed -i 's/^GRUB_TERMINAL=.*/GRUB_TERMINAL_OUTPUT="console"/g' /etc/default/grub sed -i '/GRUB_SERIAL_COMMAND="serial"/d' /etc/default/grub sed -ri 's/(GRUB_CMDLINE_LINUX=".*)\s+console=ttyS0(.*")/\1\2/' /etc/default/grub +sed -i 's/"GRUB_ENABLE_BLSCFG=.*"/"GRUB_ENABLE_BLSCFG=false"/g' /etc/default/grub yum clean all