F17 virt-install with kickstart from local ftp

Reiner Rottmann reiner at rottmann.it
Tue Jun 5 18:16:35 UTC 2012


Hi,

I recently upgraded from F16 to F17 and during post install I usually
setup a virtual test box to play around with.

The following command worked with F16:

#/usr/bin/virt-install --vnc --noautoconsole --name=vserver.example.com
--ram=768 --arch=i386 --vcpus=1 --os-type=linux --os-variant=rhel6 --hvm
--accelerate --disk=/dev/vgsystem/vserver.example.com -m
52:54:00:42:2C:C4 -w bridge=virbr0
--location=ftp://192.168.122.1/pub/fedora/linux/releases/16/Fedora/i386/os/
--extra-args='ks=ftp://192.168.122.1/pub/kickstart/vserver.cfg
ip=192.168.122.100 netmask=255.255.255.0 gateway=192.168.122.1
dns=208.67.222.222 noipv6 s=100'

With F17 and the dracut based initial ramdisk, this command fails.

I receive the following error message and a kernel panic before anaconda
even starts:

FATAL: Please supply bootdev argument for multiple ip= lines

I also tried the 'ip=<ip>::<gw>:<nm>[:<dev>]' method to configure the
network interface the dracut way:

# /usr/bin/virt-install --vnc --noautoconsole --name=vserver.example.com
--ram=1024 --arch=i386 --vcpus=1 --os-type=linux --os-variant=rhel6
--hvm --accelerate --disk=/dev/vgsystem/vserver.example.com -m
52:54:00:42:89:08 -w bridge=virbr0
--location=ftp://192.168.122.1/pub/fedora/linux/releases/17/Fedora/i386/os
'--extra-args=ks=ftp://192.168.122.1/pub/kickstart/vserver.cfg
ip=192.168.122.100::192.168.122.1:255.255.255.0
nameserver=208.67.222.222 noipv6 s=100'

With this command the virtual machine boots and drops to a dracut debug
shell. However no network interface gets configured and I receive the
following messages: 

dracut Warning: Unable to process initqueue
dracut Warning: /dev/root does not exist

Could someone please enlighten me, how I may automatically kickstart my
test box with Fedora 17?

Thanks!

Best regards,
Reiner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120605/2c993dbb/attachment.sig>


More information about the users mailing list