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 %pre NEWDEV=`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="" fi echo "## kickstart configured with $DEVICE1"
cat > /tmp/parts.ks <<EOPARTS clearpart --all --initlabel part /boot --fstype "ext3" --size=128 --asprimary $DEVICE1 part swap --size=2048 $DEVICE1 part / --fstype "ext3" --size=512 --grow --asprimary $DEVICE1
EOPARTS I have tried this fix but it did
not resolve the issue |
_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list