initial checkin
[util-vserver.git] / util-vserver / scripts / vserver-build
index 31235f3..994e3cd 100755 (executable)
@@ -53,10 +53,13 @@ Possible methods are:
     apt-rpm ... -- -d <distribution>
                 ...  installs the base-packages of the given distribution with
                     help of 'vapt-get'
+    yum     ... -- -d <distribution>
+                ...  installs the base-packages of the given distribution with
+                    help of 'vyum'
     skeleton ... -- [<cmd> <args>*]
                 ...  installs a minimal skeleton filesystem, creates the
                     configuration file and calls an optional command then
-    debootstrap ... -- -d <distribution> [-m <mirror>]
+    debootstrap ... -- -d <distribution> [-m <mirror>] [-- <debootstrap-options>*]
                      bootstraps the vserver with Debian's 'debootstrap' package
 
 Please report bugs to $PACKAGE_BUGREPORT"
@@ -117,7 +120,7 @@ setup_setDefaults "$VSERVER_NAME"
 
 case x"$method" in
     (xlegacy)  exec $_VSERVER_LEGACY "$VSERVER_NAME" build "$@" ;;
-    (xapt-rpm|xcopy|xskeleton|xdebootstrap)
+    (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum)
                . $PKGLIBDIR/vserver-build.$method
                ;;
     (x)                echo $"No build-method specified" >&2