From: Enrico Scholz Date: Sat, 17 Jan 2004 05:15:07 +0000 (+0000) Subject: added 'unify' and 'pkg' commands X-Git-Tag: VERSION_0_10~899 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6f2d3abee42c99e6bb8fe627b9558db0ed1c6b8;p=util-vserver.git added 'unify' and 'pkg' commands git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@628 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vserver b/util-vserver/scripts/vserver index 5725eaa..3bcbbc5 100755 --- a/util-vserver/scripts/vserver +++ b/util-vserver/scripts/vserver @@ -59,6 +59,12 @@ Possible commands are: build * ... builds a new vserver from scratch + unify [-R] + ... (de)unify vserver + + pkg install + ... installs package(s) in the vserver + apt-get,apt-config,apt-cache * ... execute the apt-* command for the given vserver rpm * @@ -181,6 +187,16 @@ case "$2" in isVserverRunning "$VSERVER_DIR" ;; + unify) + shift 2 + exec $_VUNIFY "$@" "$vserver" + ;; + + pkg) + shift 2 + exec $_VPKG "$vserver" "$@" + ;; + apt-get|apt-config|apt-cache) export _APT_GET=$2 shift 2