Delete remove.sh

This commit is contained in:
2025-10-30 07:57:16 +00:00
parent a42ec4e64e
commit c01db91c1b

View File

@@ -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