From a4f23b2b8214a8dc052ba3cadfd7b733cc809817 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Thu, 3 Oct 2019 22:55:26 +0200 Subject: [PATCH] staticsync: let's assume that IPv6 is not worse than IPv4 --- modules/staticsync/files/static-mirror-run | 2 +- modules/staticsync/files/static-update-component | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/staticsync/files/static-mirror-run b/modules/staticsync/files/static-mirror-run index eac646bb3..266baaae6 100755 --- a/modules/staticsync/files/static-mirror-run +++ b/modules/staticsync/files/static-mirror-run @@ -66,7 +66,7 @@ COMPONENT="$(basename "${COMPONENTDIR}")" RSYNC="rsync" RSYNC_BASE_OPTIONS="-rtvz --delete --links --hard-links --safe-links" -RSYNC_SSH_OPTIONS="ssh -o AddressFamily=inet -o BatchMode=yes" +RSYNC_SSH_OPTIONS="ssh -o BatchMode=yes" LOGDIR="$HOME/logs" LOGFILE="$LOGDIR/$NAME-run-${COMPONENT}.log" diff --git a/modules/staticsync/files/static-update-component b/modules/staticsync/files/static-update-component index 455d17d38..7b6a3b5a2 100755 --- a/modules/staticsync/files/static-update-component +++ b/modules/staticsync/files/static-update-component @@ -80,7 +80,7 @@ fi if [ "`id -nu`" != "$staticuser" ]; then sudo -u "$staticuser" static-update-component "$@" else - ssh -o AddressFamily=inet -t -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "$masterhost" static-master-update-component "$component" + ssh -t -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "$masterhost" static-master-update-component "$component" fi # vim:set et: -- 2.20.1