From 4f8a98b179287c8b9a78d0c978a9d6a8965a9648 Mon Sep 17 00:00:00 2001 From: Simon Paillard Date: Fri, 7 Aug 2009 23:24:44 +0200 Subject: runmirrors: disable StrictHostKeyChecking by default --- bin/runmirrors | 2 +- 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 -- cgit v1.2.3