Re: [CentOS] kickstart %pre vda/sda troubles

2013-03-11 Thread Natxo Asenjo
On Mon, Mar 11, 2013 at 12:45 AM, Gordon Messmer yiny...@eburg.com wrote: On 03/10/2013 08:14 AM, Natxo Asenjo wrote: lets reply to myself then ;-) I missed your first message. I've put a copy of my centos 6 kickstart here in case there are any ideas you think are good ones:

Re: [CentOS] kickstart %pre vda/sda troubles

2013-03-11 Thread Gordon Messmer
On 03/11/2013 01:18 AM, Natxo Asenjo wrote: nice examples with bash functions Thanks. I PXE boot the installer and give options about how I want to set up the guest as extra command line arguments. Typically, that means for a KVM server I'd type: centos6 softraid kvm For a KVM guest, I'd

Re: [CentOS] kickstart %pre vda/sda troubles

2013-03-10 Thread Natxo Asenjo
lets reply to myself then ;-) %pre #!/bin/bash if [ -b /dev/vda ] ; then echo bootloader --location=mbr --timeout=0 --driveorder=vda --append=crashkernel=auto rhgb quiet /tmp/diskinfo echo clearpart --linux --drives=vda /tmp/diskinfo echo part /boot --fstype=ext4 --size=500

Re: [CentOS] kickstart %pre vda/sda troubles

2013-03-10 Thread Gordon Messmer
On 03/10/2013 08:14 AM, Natxo Asenjo wrote: lets reply to myself then ;-) I missed your first message. I've put a copy of my centos 6 kickstart here in case there are any ideas you think are good ones: http://pastebin.com/rJEnsdvw ___ CentOS mailing

[CentOS] kickstart %pre vda/sda troubles

2013-03-09 Thread Natxo Asenjo
hi, The problem: for kvm/qemu disks are /dev/vdx devices when using the virtio driver. For vmware, drives are /dev/sdx devices. For hp servers, /dev/ccisss/whatever (sorry, no proliant with an array controller handy to check it). in order to just have one kickstart script to maintain I am trying