Re: virt-install and kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Costa, Jeff wrote:
Has anyone successfully used a kickstart file in tandem with the "virt-install" command? I can get a generic install to begin if I omit the "-x" flag and the kickstart parameters? It seems that virt-install simply ignores my kickstart parameters.

virt-install --location=http://www.gtlib.gatech.edu/pub/centos/4.5/os/i386/ --noautoconsole --file=/dev/VolGroup00/lv_centos45 --name=CENTOS_45 --ram=256 --nographics -d -p -x "ks=http://192.168.1.98/centos45.cfg ip=192.168.1.97 netmask=255.255.255.0 dns=192.168.1.1 gateway=192.168.1.1"

Yes, I've gotten it to work successfully. Mine looks like this:

/usr/sbin/virt-install -n vm02 -r 256 -l http://myserver/centos/5/os/x86_64 --nographics -f /srv/xen/images/vm02 -x "ks=nfs:myserver:/srv/kickstart/ks64vm02.cfg"

Do you need to specify the IP in the ks parameters? I think it should be able to just use whatever the xen host uses. And then you can manually set an IP within the ks.cfg file itself.

johnn
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux