Changeset 2755

Show
Ignore:
Timestamp:
08/21/08 19:56:16 (3 months ago)
Author:
dhozac
Message:

Make it easier to add rsync arguments.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/scripts/vserver-build

    r2644 r2755  
    7373                     -d <fai_dir> specifies the location of the FAI profile 
    7474                     the -f option implies -n and -d are relative to the <fai_vserver> 
    75     rsync       ... -- [-d <distribution>] --source <source> [-o <rsync option>]* 
     75    rsync       ... -- [-d <distribution>] --source <source> [-- <rsync options>*] 
    7676                ...  installs a guest by rsyncing from <source> to the guest root 
    7777    clone       ... -- [-d <distribution>] --source <source> [--exclude-from <exclude-list>] 
  • trunk/scripts/vserver-build.rsync

    r2398 r2755  
    6060test -z "$BUILD_INITPRE"  || "$BUILD_INITPRE" "$SETUP_CONFDIR"  "$UTIL_VSERVER_VARS" 
    6161 
    62 $_RSYNC "${OPTS[@]}" "$SOURCE"/ "$VDIR"/ 
    63 test -z "$1" || "$@" 
     62$_RSYNC "${OPTS[@]}" "$@" "$SOURCE"/ "$VDIR"/ 
    6463 
    6564test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS"