Specify just the first disk
Brian Akins
bakins at web.turner.com
Fri Jun 18 14:21:10 UTC 2004
Jesse Keating wrote:
>
>In the %pre section, use fdisk (or something like that) to probe which
>disks are present, awk out the actual disk
>
>fdisk -l |awk '/^Disk/ {print $2}' |awk -F "/" '{print $3}' |sed -e
>'s/://'
>
>Something similar to that. Then use this value (in a variable) for your
>--ondisk=${firstdisk}
>
>
Cool this works on FC2.
Thanks.
--
Brian Akins
Senior Systems Engineer
CNN Internet Technologies
More information about the Kickstart-list
mailing list