[libvirt-users] Is there a good way to "slot" libvirtd versions?
by Whit Blauvelt
Hi,
Is there a reasonable way to alternately use several versions of libvirtd on
the same system? I ask because there are features of 0.9.X I want to
experiment with, yet also need to use the systems where I'm doing that to
connect via virt-manager and virsh to non-experimental systems running 0.8.8
and 0.8.3 on Ubuntu - which the compiled-from-tar 0.9.x has an
incompatibility with.
As far as I can see with library dependencies there's no simple way to run
different editions of the libvirtd stack alternately on the same system. But
I could easily be missing a trick. Anyone have this working?
Thanks,
Whit
13 years, 4 months
[libvirt-users] centos6.0 unable to install guests w/ kickstart via virt-install
by Charles
How does one use virt-install and kickstart ? I've seen others have success but I've had no joy thus far.
BTW, my interactive virt-installs for centos6 guests work just fine AND I can do unattended kickstarts for vms by booting from centos6 install dvd and typing the kickstart commands from the boot: prompt. However, kickstart commands in --extra-args when used w/ virt-install just don't seem to work for me.
It looks like the kickstart file is just getting ignored ..
virt-install -n d2 \
-r 1024 \
--vcpus=2 \
-l http://mirror.cogentco.com/pub/linux/centos/6/os/x86_64/ \
--accelerate -v \
--disk path=/data/vm/d2.img,size=10 \
--os-type=linux \
--os-variant=rhel6
--network=bridge:br0
-x "ks=http://10.1.10.2/id400ks.cfg ip=10.1.10.2 netmask=255.255.255.0 gateway=10.1.10.1 dns=8.8.8.8"
The above will boot from the mirror and then launch into the interactive graphical installer as though the kickstart file isn't even there.
kickstart file is here http://pastebin.com/ZChtv2C5
I also tried 'virsh edit domain' and set cmdline to
<cmdline>ks=http://10.1.10.2/id400ks.cfg</cmdline>
and that didn't work. vm would'nt start.
details ...
uname -a Linux myhost 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
[root vm]# rpm -qa | grep libvir
libvirt-0.8.1-27.el6_0.6.x86_64
libvirt-client-0.8.1-27.el6_0.6.x86_64
libvirt-python-0.8.1-27.el6_0.6.x86_64
[root vm]# rpm -qa | grep kvm
qemu-kvm-tools-0.12.1.2-2.113.el6_0.8.x86_64
qemu-kvm-0.12.1.2-2.113.el6_0.8.x86_64
any hlp apprec.
C.
13 years, 4 months