summaryrefslogtreecommitdiff
path: root/others/vm3/compute/shutdown.sh
diff options
context:
space:
mode:
authorroot <root@sg1.noml.ch>2025-05-22 18:36:01 +0800
committerroot <root@sg1.noml.ch>2025-05-22 18:36:01 +0800
commit3a52e92fbbbab4df949740f89a389d68281a9428 (patch)
tree5cb3b864eb0e3f3b90a1efd9cbdee1fb9f158f4a /others/vm3/compute/shutdown.sh
parent8cb260002db7c46ea5fe2c3f589b485e5f5d970d (diff)
Diffstat (limited to 'others/vm3/compute/shutdown.sh')
-rwxr-xr-xothers/vm3/compute/shutdown.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/others/vm3/compute/shutdown.sh b/others/vm3/compute/shutdown.sh
deleted file mode 100755
index 081499b..0000000
--- a/others/vm3/compute/shutdown.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-
-for vm in "$@"; do
- sudo virsh shutdown "$vm" > /dev/null 2>&1
- printf "%-50s%10s\n" "Shutting down $vm..." $([[ $? -eq 0 ]] && echo "Successful" || echo "Failed")
-done