diff options
Diffstat (limited to 'others/vm3/compute/shutdown.sh')
| -rwxr-xr-x | others/vm3/compute/shutdown.sh | 6 |
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 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | for vm in "$@"; do | ||
| 4 | sudo virsh shutdown "$vm" > /dev/null 2>&1 | ||
| 5 | printf "%-50s%10s\n" "Shutting down $vm..." $([[ $? -eq 0 ]] && echo "Successful" || echo "Failed") | ||
| 6 | done | ||
