From 3fb35bc27485664abf9efd4edb0a54ec036b6cbf Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 21 Aug 2008 17:56:16 +0000 Subject: [PATCH] Make it easier to add rsync arguments. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2755 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- scripts/vserver-build | 2 +- scripts/vserver-build.rsync | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/vserver-build b/scripts/vserver-build index ad47f44..72906da 100755 --- a/scripts/vserver-build +++ b/scripts/vserver-build @@ -72,7 +72,7 @@ Possible methods are: -n specifies the 'NFS' root explicitly -d specifies the location of the FAI profile the -f option implies -n and -d are relative to the - rsync ... -- [-d ] --source [-o ]* + rsync ... -- [-d ] --source [-- *] ... 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 diff --git a/scripts/vserver-build.rsync b/scripts/vserver-build.rsync index 6fff5dd..0260834 100644 --- a/scripts/vserver-build.rsync +++ b/scripts/vserver-build.rsync @@ -59,8 +59,7 @@ setup_writeInitialFstab test -z "$BUILD_INITPRE" || "$BUILD_INITPRE" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS" -$_RSYNC "${OPTS[@]}" "$SOURCE"/ "$VDIR"/ -test -z "$1" || "$@" +$_RSYNC "${OPTS[@]}" "$@" "$SOURCE"/ "$VDIR"/ test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS" -- 1.8.1.5