Update ssh upload rsync wrapper for stretch
authorAurelien Jarno <aurelien@aurel32.net>
Wed, 5 Apr 2017 19:22:32 +0000 (21:22 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 5 Apr 2017 19:22:32 +0000 (21:22 +0200)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
modules/roles/files/ssh_upload/rsync-ssh-wrap

index 8f3e8d8..04ceb3e 100755 (executable)
@@ -59,6 +59,7 @@ do_rsync() {
        if [ -d "$RSYNCDIR" ]; then
                allowed_rsyncs+=("--server -vlogDtprxze.iLsf --partial . $RSYNCDIR") # wheezy
                allowed_rsyncs+=("--server -vlogDtprxze.iLsfx --partial . $RSYNCDIR") # jessie
+               allowed_rsyncs+=("--server -vlogDtprxze.iLsfxC --partial . $RSYNCDIR") # stretch
        fi
        for cmd_idx in ${!allowed_rsyncs[*]}; do
                allowed="${allowed_rsyncs[$cmd_idx]}"