On 17/01/12 13:48, Dan White wrote:
> Absolutely.
> 
> However, this opens up another problem:
> I have a variety of machines I have to deal with.  Some have main drives that 
> show up as /dev/hda1 while others show up as /dev/sda1.  On the first, I 
> would expect my USB flash drive to show up as /dev/sda1 while I would expect 
> it to be /dev/sdb1 on the second one.
> 
> Any suggestions on a way to have kickstart tell the difference ?

Do your partitioning in a %pre script -> cobbler has example snippets
for this.

or simply detect it in a %pre script (try blkid or list-harddrives or
fdisk and grep...), dump an 'ignoredisk'  statement to /tmp/ignoredisks
and then in your kickstart template

%include /tmp/ignoredisks

Stuart
-- 
Stuart Sears RHCA etc.
"It's today!" said Piglet.
"My favourite day," said Pooh.
_______________________________________________
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel

Reply via email to