From: Enrico Scholz Date: Wed, 25 Feb 2004 11:44:20 +0000 (+0000) Subject: added better namespace supportc X-Git-Tag: VERSION_0_10~573 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=288255282a3ff68d179f47f351952e923844d5aa;hp=b6e1f39d63509d5aea3ff02ed624b057b7bb050a;p=util-vserver.git added better namespace supportc git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@993 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vserver.functions b/util-vserver/scripts/vserver.functions index e02c0dd..d6e6bc6 100644 --- a/util-vserver/scripts/vserver.functions +++ b/util-vserver/scripts/vserver.functions @@ -228,6 +228,7 @@ function _generateFlagOptions while read flag; do case x"$flag" in x|x#) ;; + xnamespace) ;; xfakeinit) CHCONTEXT_INIT_OPTS=( --disconnect --flag fakeinit ) ;; @@ -237,6 +238,9 @@ function _generateFlagOptions ;; esac done <"$vdir"/flags + + isAvoidNamespace "$cfgdir" || \ + CHCONTEXT_FLAG_OPTS=( "${CHCONTEXT_FLAG_OPTS[@]}" --flag namespace ) } function _generateChcontextOptions