2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 10:18:20 +00:00

Fix some RHEL8 deploy problems

This commit is contained in:
Jarrod Johnson
2019-04-09 15:09:03 -04:00
parent f07c819d5d
commit 47d8ae83c0
2 changed files with 5 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ lang en_US.UTF-8
# Root password
rootpw --iscrypted #CRYPT:passwd:key=system,username=root:password#
# System services
services --disabled="NetworkManager"
#services --disabled="NetworkManager"
# System timezone
timezone #TABLE:site:key=timezone:value# --isUtc
# Partition clearing information

View File

@@ -19,5 +19,7 @@ do
fi
done
# Dirty hack for RHEL8 Alpha
chkconfig network on
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