Rollback cleanup functions
This commit is contained in:
parent
a9399e57a0
commit
64940c39bc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user