From 64940c39bc3081ddf3f68e2f4d220f1fa984e6a3 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Thu, 15 Jun 2023 00:10:16 +0200 Subject: [PATCH] Rollback cleanup functions --- scripts/.cleanup.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/scripts/.cleanup.sh b/scripts/.cleanup.sh index afd2600..887af96 100755 --- a/scripts/.cleanup.sh +++ b/scripts/.cleanup.sh @@ -18,12 +18,6 @@ cleanuppaths() { done } -cleanupssh() { - for host in ${!hosts[*]}; do - ssh-keygen -R ${hosts[$host]} &>/dev/null - done -} - cleanupnetwork() { if iptables -L -n |grep -q $QEMU_BR_NAME; then pinfo "Cleaning iptables rules..." @@ -45,6 +39,6 @@ stopdls declare -A hosts get_hosts destroyvms -#cleanuppaths +cleanuppaths cleanupssh -#cleanupnetwork +cleanupnetwork