From 8b3860962c46826bccd21cfe5f790d7732e5bf74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 29 May 2024 17:39:43 +0200 Subject: [PATCH] Mirrormanager: batch mode: don't check host keys MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- .../mirrormanager/templates/update-mirrorlist-cache.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift-apps/mirrormanager/templates/update-mirrorlist-cache.sh b/roles/openshift-apps/mirrormanager/templates/update-mirrorlist-cache.sh index ccc4583403..6b245eb278 100644 --- a/roles/openshift-apps/mirrormanager/templates/update-mirrorlist-cache.sh +++ b/roles/openshift-apps/mirrormanager/templates/update-mirrorlist-cache.sh @@ -23,7 +23,7 @@ ${MM_ROOT}/bin/generate-mirrorlist-cache -o ${CACHEDIR}/mirrorlist_cache.proto for server in ${MIRRORLIST_PROXY}; do # *.txt files are netblocks rsync -az --delete-delay --delay-updates --delete \ - -e "ssh -i ${MM_SSH_KEY}" \ + -e "ssh -i ${MM_SSH_KEY} -o BatchMode=yes -o StrictHostKeyChecking=no" \ ${MM_ROOT}/src/utility/country_continent.csv \ ${CACHEDIR}/mirrorlist_cache.proto \ ${CACHEDIR}/*.txt \