From e2dea8054ffccbda67f0a910df749a4063503f43 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 31 Aug 2023 11:24:52 +0200 Subject: [PATCH] kvm-host: add batch-mode and ignore stdin for SSH command in migrate-vm.sh --- CHANGELOG.md | 1 + kvm-host/files/migrate-vm.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d240785..df12ef75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ The **patch** part changes is incremented if multiple releases happen the same m * fail2ban: add default variable fail2ban_dbpurgeage_default * fail2ban: add default variable fail2ban_dbpurgeage_default * fail2ban: add variable fail2ban_sshd_port to configure sshd port +* kvm-host: add batch-mode and ignore stdin for SSH command in migrate-vm.sh * nagios-nrpe: add a NRPE check-local command with completion. * php: add new variable to disable oveeriding settings of php-fpm default pool (www) * policy_pam: New role allowing to manage password policy with pam_pwquality & pam_pwhistory diff --git a/kvm-host/files/migrate-vm.sh b/kvm-host/files/migrate-vm.sh index b2244607..96a85ec2 100644 --- a/kvm-host/files/migrate-vm.sh +++ b/kvm-host/files/migrate-vm.sh @@ -88,7 +88,7 @@ execute_remotely() { command=${*} # shellcheck disable=SC2029 - ssh "${remote}" "${command}" + ssh -n -o BatchMode=yes "${remote}" "${command}" } set_drbd_role() {