7 lines
188 B
Bash
Executable File
7 lines
188 B
Bash
Executable File
#!/bin/sh
|
|
# Start all VMs that are in a shutoff state
|
|
virsh list --state-shutoff --name | \
|
|
while read vm; \
|
|
do [ -n "$vm" ] && virsh start $vm && echo "Resumed : $vm"; \
|
|
done | column -t
|