From: Thierry Parmentelat Date: Fri, 10 Apr 2015 08:30:25 +0000 (+0200) Subject: lxc-enter-namespace is broken for me right now X-Git-Tag: 5.3.9~58 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c0b23e33322ae054c0ab0be0679f70969e15c09a;p=build.git lxc-enter-namespace is broken for me right now it is unclear why this is necessary anyway, so let us try without the explicit dhclient thing --- diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 869bf760..c42efcfa 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -657,7 +657,7 @@ function post_install () { # we need the --noseclabel flag with recent libvirt's # was not required with f20/libvirt-1.2.5 # but is now with f21/libvirt-1.2.9 - virsh -c lxc:/// lxc-enter-namespace --noseclabel $lxc /usr/bin/$personality /bin/bash -c "dhclient $VIF_GUEST" + virsh -c lxc:/// lxc-enter-namespace --noseclabel $lxc /usr/bin/$personality /bin/bash -c "dhclient $VIF_GUEST" || : fi else post_install_myplc $lxc $personality