X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fvserver;h=ebd105b52f8c30c4c3792b61b0c22e14e45102d0;hb=b0a62d195efca12c5cb9e7c0b3bea3be2cd57fc9;hp=c776201cc62df71755d2dfa0f5adfbf62e3aec94;hpb=fc28db1eb4146796ec27c2fb15780d6303120261;p=util-vserver.git diff --git a/scripts/vserver b/scripts/vserver index c776201..ebd105b 100755 --- a/scripts/vserver +++ b/scripts/vserver @@ -1,5 +1,5 @@ #! /bin/bash -# $Id: vserver 2418 2006-12-08 13:28:02Z dhozac $ +# $Id: vserver 2521 2007-03-21 04:46:18Z dhozac $ # Copyright (C) 2003,2004,2005 Enrico Scholz # @@ -59,8 +59,8 @@ Possible commands are: ... builds a new vserver from scratch delete ... remove a vserver - unify [-R] - ... (de)unify vserver + unify [-R] * + ... (de)unify the vserver with its reference vserver(s). pkg install ... installs package(s) in the vserver @@ -77,8 +77,8 @@ Possible commands are: while 'internalize' means that data and programs from the vserver will be used. - unify * - ... unify the vserver with its reference vserver(s). + hashify + ... hashify the guest. Please report bugs to $PACKAGE_BUGREPORT" @@ -190,11 +190,7 @@ Possible solutions: exit 5 } >&2 -if test -e "$VSERVER_DIR"/name; then - read VSERVER_NAME <"$VSERVER_DIR"/name -else - VSERVER_NAME=$(basename "$VSERVER_DIR") -fi +_setVserverName # Create a new namespace when starting the guest test "$2" != start -o -n "$OPTION_NONAMESPACE" || isAvoidNamespace "$VSERVER_DIR" || \