From: S.Çağlar Onur Date: Thu, 13 May 2010 21:19:46 +0000 (+0000) Subject: support LBACK_ALLOW network context flag X-Git-Tag: 5.0-rc8~5 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8b3441c48001cb20d58bbe67334cde0eb00c2db9;p=build.git support LBACK_ALLOW network context flag --- diff --git a/vbuild-init-vserver.sh b/vbuild-init-vserver.sh index 311e751b..f7092e49 100755 --- a/vbuild-init-vserver.sh +++ b/vbuild-init-vserver.sh @@ -174,6 +174,9 @@ function setup_vserver () { [ $cap -eq 0 ] && echo 'CAP_NET_BIND_SERVICE' >> /etc/vservers/$vserver/bcapabilities fi + # Set persistent for the network context + echo persistent,lback_allow > /etc/vservers/$vserver/nflags + if [ "$pkg_method" = "yum" ] ; then $personality vyum $vserver -- -y install yum # ditto