|
I am trying to kickstart
redhat 5.2 64 bit We have used this %pre script for
years and had have no issues. I am trying to kickstart an HP
DL365 G5 but does not like this script The kickstart machine is running
Redhat 4.5 This %pre script worked fine on a
G4 with red hat 5.1. The kickstart always comes up with
a GUI to partition the drives %preNEWDEV=`sed 's/.*rootdev=\([^ $]*\).*/\1/' < /proc/cmdline`echo "##"echo "## newdev = $NEWDEV"if test "$NEWDEV" = "cciss" ; then DEVICE1="--ondisk cciss/c0d0"elif test "$NEWDEV" = "ida" ; then DEVICE1="--ondisk ida/c0d0"elif test "$NEWDEV" = "hd" ; then DEVICE1="--ondisk hda"elif test "$NEWDEV" = "sd" ; then DEVICE1="--ondisk sda"else DEVICE1=""fiecho "## kickstart configured with $DEVICE1"cat > /tmp/parts.ks <<EOPARTSclearpart --all --initlabelpart /boot --fstype "ext3" --size=128 --asprimary $DEVICE1part swap --size=2048 $DEVICE1part / --fstype "ext3" --size=512 --grow --asprimary $DEVICE1
EOPARTS I have tried this fix but it did
not resolve the issue |