diff --git a/remove.sh b/remove.sh deleted file mode 100644 index 135140c..0000000 --- a/remove.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -cat ./hosts | while read line -do - vmnum=$(echo $ip | cut -d '.' -f 3)(echo $ip | cut -d '.' -f 4) - echo -n "Stopping VM $vmnum ....." - qm stop $vmnum && echo "OK" && qm destroy 150 --purge --destroy-unreferenced-disks 1 - echo "VM $vmnum destroyed." - rm /mnt/pve/syno-tigra/snippets/${vmnum}_user.yaml && echo "Snippet ${vmnum}_user.yaml removed." -done \ No newline at end of file