diff options
author | Simon Paillard <simon.paillard@resel.enst-bretagne.fr> | 2009-08-07 23:24:44 +0200 |
---|---|---|
committer | Simon Paillard <simon.paillard@resel.enst-bretagne.fr> | 2009-08-07 23:24:44 +0200 |
commit | 4f8a98b179287c8b9a78d0c978a9d6a8965a9648 (patch) | |
tree | 520e42087e5af1ea5b2cb8b07dfac01c608b1e59 | |
parent | 9bc4a2692679e274c7be30459e1c1eb9935828b3 (diff) |
runmirrors: disable StrictHostKeyChecking by default
-rwxr-xr-x | bin/runmirrors | 2 | ||||
-rw-r--r-- | etc/runmirrors.conf.sample | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/runmirrors b/bin/runmirrors index 1357f8b..ba181e5 100755 --- a/bin/runmirrors +++ b/bin/runmirrors @@ -54,7 +54,7 @@ MIRRORS=${MIRRORS:-"${BASEDIR}/etc/${NAME}.mirror"} # used by log() PROGRAM=${PROGRAM:-"${NAME}-$(hostname -s)"} # extra ssh options we might want hostwide -SSH_OPTS=${SSH_OPTS:-""} +SSH_OPTS=${SSH_OPTS:-"-o StrictHostKeyChecking=no"} # Whats our archive name? We will also tell our leafs about it PUSHARCHIVE=${PUSHARCHIVE:-"${CONF}"} # How long to wait for mirrors to do stage1 if we have multi-stage syncing diff --git a/etc/runmirrors.conf.sample b/etc/runmirrors.conf.sample index 02ded07..9a77c9e 100644 --- a/etc/runmirrors.conf.sample +++ b/etc/runmirrors.conf.sample @@ -26,7 +26,8 @@ #MIRRORS="${BASEDIR}/etc/${NAME}.mirror" ## extra ssh options we might want. *hostwide* -#SSH_OPTS="" +## By default, ignore ssh key change of leafs +#SSH_OPTS="-o StrictHostKeyChecking=no" ## The script can send logs (or error messages) to a mail address. ## If this is unset it will default to the local root user unless it is run |