install xen guest - getting kickstart fail

Augusto Castelan Carlson accarlson at gmail.com
Fri Feb 29 12:27:05 UTC 2008


Hello!

I'm using Fedora 8 x86_64 re-spin.

I'm trying to install a guest using kickstart, but it stay DHCP'ing.
The host is the ftp server.

The command I'm using is this one: virt-install -p -n guest -r 512
-vnc -l ftp://172.16.4.6/ -x ip=172.16.4.7 -x
ks=ftp://172.16.4.6/guest.cfg -f /dev/vg/lv1

I hit ALT+F3 to see the messages:
When it start one of the messages is "getting kickstart file" followed
by "DHCPDISCOVER". As there is no DHCP server, the installation asks
about network configuration, even specifying "ip=" in the kernel
argument. I configured it manually (ip address, netmask and gateway)
when asked. Once configured, it start "transferring kickstart file",
"setting up kickstart file", "setting up language en_US.UTF-8" and
appear a message saying that "need setup networking" and start
DHCPDISCOVER again. DHCp'ing remains forever now.

My kickstart starts with:

install
url --url ftp://172.16.4.6//
lang en_US.UTF-8
keyboard br-abnt2
network --device eth0 --bootproto static --ip 172.16.4.7 --netmask
255.255.255.0 --gateway 172.16.4.1 --nameserver 172.16.4.1
firewall --disabled
selinux --disabled
....

Any idea of what is wrong? Once I asked here about disable DHCP'ing
and I was advised to put kernel arguments, and it appeared to be
working.

Thanks in advance.

Regards,
-- 
Augusto




More information about the Kickstart-list mailing list