X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fvserver-build;h=dc9100f807a9d8ab2764e720d93ea7d9afcf3692;hb=refs%2Fheads%2Fscholz;hp=b71d5d43ec5139214e0bfcc376a866bd9ccdda39;hpb=fc28db1eb4146796ec27c2fb15780d6303120261;p=util-vserver.git diff --git a/scripts/vserver-build b/scripts/vserver-build index b71d5d4..dc9100f 100755 --- a/scripts/vserver-build +++ b/scripts/vserver-build @@ -1,5 +1,5 @@ #! /bin/bash -# $Id: vserver-build 2398 2006-11-24 15:20:09Z dhozac $ +# $Id: vserver-build 2644 2007-12-19 14:28:40Z dhozac $ # Copyright (C) 2003,2004,2005 Enrico Scholz # @@ -74,6 +74,8 @@ Possible methods are: the -f option implies -n and -d are relative to the rsync ... -- [-d ] --source [-o ]* ... installs a guest by rsyncing from to the guest root + clone ... -- [-d ] --source [--exclude-from ] + ... clones a guest by linking unified files and copying the rest Please report bugs to $PACKAGE_BUGREPORT" exit 0 @@ -134,7 +136,7 @@ setup_setDefaults "$VSERVER_NAME" case x"$method" in (xlegacy) exec $_VSERVER_LEGACY "$VSERVER_NAME" build "$@" ;; - (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync) + (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync|xclone) . $__PKGLIBDIR/vserver-build.$method ;; (x) panic $"No build-method specified";;