diff options
author | Jonathan Bauer | 2016-04-18 18:02:42 +0200 |
---|---|---|
committer | Jonathan Bauer | 2016-04-18 18:02:42 +0200 |
commit | d0c12b4cab4568aebcb8d249ef701e7b856e0b6d (patch) | |
tree | 404dd933497f06ba76a7ad6963ec4572602d2f74 /packager/openslx.functions | |
parent | remove debug code (diff) | |
download | systemd-init-d0c12b4cab4568aebcb8d249ef701e7b856e0b6d.tar.gz systemd-init-d0c12b4cab4568aebcb8d249ef701e7b856e0b6d.tar.xz systemd-init-d0c12b4cab4568aebcb8d249ef701e7b856e0b6d.zip |
25G > 20G default container size
Diffstat (limited to 'packager/openslx.functions')
-rw-r--r-- | packager/openslx.functions | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/packager/openslx.functions b/packager/openslx.functions index 6a95f1f0..138e5f39 100644 --- a/packager/openslx.functions +++ b/packager/openslx.functions @@ -286,15 +286,9 @@ clone_host() { add_cleanup touch ${RSYNC_TARGET}/.stage4 # run rsync with the exclude/include lists created earlier cat "$INCLUDE" "$EXCLUDE" | \ - rsync --acls \ - --hard-links \ - --xattrs \ - --archive \ - --delete \ - --delete-excluded \ - --numeric-ids \ + rsync $RSYNC_OPTS \ --exclude-from=- \ - --rsh "${RSYNC_RSH}" \ + --rsh "${RSYNC_RSH}" \ "${RSYNC_SOURCE}" \ "${RSYNC_TARGET}" @@ -324,7 +318,7 @@ create_container() { # which size for the qcow2 container? local CONTAINER_SIZE="${DEFAULT_CONTAINER_SIZE}" - [ -z "${CONTAINER_SIZE}" ] && CONTAINER_SIZE="25G" + [ -z "${CONTAINER_SIZE}" ] && CONTAINER_SIZE="20G" # so far so good pinfo "Creating qcow2-container '${CONTAINER_PATH}'" |