From 44cbbf7df4ef160589ef2144920dfe3c8c46c9d1 Mon Sep 17 00:00:00 2001 From: Mohamed Larabi Date: Fri, 22 Mar 2013 18:20:51 +0100 Subject: [PATCH] we need libvirt-1.0.3 --- vbuild-init-lxc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.0