From: Thierry Parmentelat Date: Wed, 22 Jan 2014 07:35:45 +0000 (+0100) Subject: need to pass -c lxc:/// to virsh X-Git-Tag: before_libvirt_121~62 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=232cd2a258547ffe2c0a40fd00c51af7a8c2662b need to pass -c lxc:/// to virsh --- diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 5a6b73c6..1c3eafd8 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -736,7 +736,7 @@ function post_install () { post_install_build $lxc $personality lxc_start $lxc # manually run dhclient in guest - somehow this network won't start on its own - virsh lxc-enter-namespace $lxc /usr/sbin/dhclient $VIF_GUEST + virsh -c lxc:/// lxc-enter-namespace $lxc /usr/sbin/dhclient $VIF_GUEST else post_install_myplc $lxc $personality lxc_start $lxc