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:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user