added debootstrap
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 4 Feb 2004 02:46:43 +0000 (02:46 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 4 Feb 2004 02:46:43 +0000 (02:46 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@781 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver-build

index 189a3a3..463294f 100755 (executable)
@@ -56,6 +56,8 @@ Possible methods are:
     skeleton ... -- [<cmd> <args>*]
                 ...  installs a minimal skeleton filesystem, creates the
                     configuration file and calls an optional command then
+    debootstrap ... -- -d <distribution> [-m <mirror>]
+                     bootstraps the vserver with Debian's 'debootstrap' package
 
 Please report bugs to $PACKAGE_BUGREPORT"
     exit 0
@@ -115,7 +117,7 @@ setup_setDefaults "$VSERVER_NAME"
 
 case x"$method" in
     xlegacy)   exec $_VSERVER_LEGACY "$VSERVER_NAME" build "$@" ;;
-    xapt-rpm|xcopy|xskeleton)
+    xapt-rpm|xcopy|xskeleton|xdebootstrap)
                . $PKGLIBDIR/vserver-build.$method
                ;;
     x)         echo $"No build-method specified" >&2