Rollback cleanup functions

This commit is contained in:
Guillaume 2023-06-15 00:10:16 +02:00
parent a9399e57a0
commit 64940c39bc

View File

@ -18,12 +18,6 @@ cleanuppaths() {
done done
} }
cleanupssh() {
for host in ${!hosts[*]}; do
ssh-keygen -R ${hosts[$host]} &>/dev/null
done
}
cleanupnetwork() { cleanupnetwork() {
if iptables -L -n |grep -q $QEMU_BR_NAME; then if iptables -L -n |grep -q $QEMU_BR_NAME; then
pinfo "Cleaning iptables rules..." pinfo "Cleaning iptables rules..."
@ -45,6 +39,6 @@ stopdls
declare -A hosts declare -A hosts
get_hosts get_hosts
destroyvms destroyvms
#cleanuppaths cleanuppaths
cleanupssh cleanupssh
#cleanupnetwork cleanupnetwork