From: Mohamed Larabi Date: Fri, 22 Mar 2013 17:20:51 +0000 (+0100) Subject: we need libvirt-1.0.3 X-Git-Tag: 5.2.2~54^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=44cbbf7df4ef160589ef2144920dfe3c8c46c9d1;p=build.git we need libvirt-1.0.3 --- diff --git a/vbuild-init-lxc.sh b/vbuild-init-lxc.sh index 9079855e..bc1b4d71 100755 --- a/vbuild-init-lxc.sh +++ b/vbuild-init-lxc.sh @@ -19,7 +19,7 @@ DEFAULT_IFNAME=eth0 COMMAND_VBUILD="vbuild-init-lxc.sh" COMMAND_MYPLC="vtest-init-lxc.sh" -libvirt_version="1.0.2" +libvirt_version="1.0.3" function bridge_init () { # turn on verbosity @@ -141,7 +141,7 @@ function prepare_host() { host_fcdistro="$(cat /etc/fedora-release | cut -d' ' -f3)" ## check if libvirt 1.0.2-1 is installed - rpm -qa | grep -e "libvirt*.*1.0.2-1" || { echo "Libvirt 1.0.2-1 needs to be installed!!!" ; exit 1 ; } + virsh -v | grep -e "1.0.3" || { echo "Libvirt 1.0.3 needs to be installed!!!" ; exit 1 ; } # host_fcdistro="$(cat /etc/fedora-release | cut -d' ' -f3)" # if [ ! -f /etc/yum.repos.d/libvirt.repo ] ; then