From f07c819d5de6b4fecb03b99e47eb1949292bdcf4 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 9 Apr 2019 14:37:49 -0400 Subject: [PATCH] Add alternative location for grub preconfig --- xCAT-server/share/xcat/install/scripts/post.rhels7 | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/share/xcat/install/scripts/post.rhels7 b/xCAT-server/share/xcat/install/scripts/post.rhels7 index 193ef79d7..41d051191 100644 --- a/xCAT-server/share/xcat/install/scripts/post.rhels7 +++ b/xCAT-server/share/xcat/install/scripts/post.rhels7 @@ -30,4 +30,5 @@ if [ -f "/usr/lib/systemd/system/NetworkManager.service" ]; then fi GRUBOUT=$(find /boot -name grub.cfg) sed -i -e 's/GRUB.*TERMINAL=.*/GRUB_TERMINAL="console"/' -e 's/GRUB_SERIAL_COMMAND=.*//' /etc/sysconfig/grub +sed -i -e 's/GRUB.*TERMINAL=.*/GRUB_TERMINAL="console"/' -e 's/GRUB_SERIAL_COMMAND=.*//' /etc/default/grub grub2-mkconfig -o $GRUBOUT