On 2009-04-30, Trevor Hemsley <[email protected]> wrote: > My Cobbler installation generated a kickstart file with this in the %pre > section which seems to work: > > set $(list-harddrives) > d1=$1 > d2=$3 > > cat << EOF > /tmp/partinfo > part /boot --size=100 --ondisk=$d1 --asprimary --fstype=ext3 > part pv.01 --size=230110 --ondisk=$d1 --asprimary > etc etc > EOF > > It then %includes /tmp/partinfo in the main section. >
Thanks all! I've gotten 3 good suggestions here, and think list-harddrives looks like the right way to go. -jf _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
