diff --git a/files/usr/local/sbin/install_pxe_CentOS8.sh b/files/usr/local/sbin/install_pxe_CentOS8.sh index c2d6643..3908011 100755 --- a/files/usr/local/sbin/install_pxe_CentOS8.sh +++ b/files/usr/local/sbin/install_pxe_CentOS8.sh @@ -43,17 +43,7 @@ fi if [ ! -z "$STATIC" ]; then INST_OPTIONS="ip=$IP::$GW:$MASK:$(hostname -s):$IF:off:${DNS/,*} ${INST_OPTIONS}" fi -if [ -f /boot/grub/grub.conf ]; then - cat >> /boot/grub/grub.conf <> /boot/grub/grub.conf <&2 exit 1