[CentOS-virt] Xen kickstart and virt-manager

Thu Sep 11 05:52:21 UTC 2008
Brett Worth <brett at worth.id.au>

Mikael Fridh wrote:

> The network information is passed with -x "boot parameters" just as if
> you were booting a CD but wanted to do an unattended network install.
> 
> I'm using a templatized script, but the resulting cmdline version is the
> following:
> 
> virt-install --nonsparse -b xenbr1.246 --vncport=5905 -p \
> -l http://ftp.sunet.se/pub/Linux/distributions/centos/5/os/i386 \
> -f /var/lib/xen/images/host05.xvda -s 20G -n host05 -r 256 --vnc \
> -x "cmdline ks=http://repo-server/kickstart/host05.cfg ksdevice=eth0 \
> ip=X.X.X.X \
> netmask=X.X.X.X \
> gateway=X.X.X.X \
> dns=X.X.X.X

Thanks Mikael.  I'm now off and running...

Brett