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