From c0b23e33322ae054c0ab0be0679f70969e15c09a Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 10 Apr 2015 10:30:25 +0200 Subject: [PATCH] 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 --- lbuild-initvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0