8 lines
111 B
Bash
8 lines
111 B
Bash
|
VMs=$(sudo virsh list --all --name)
|
||
|
|
||
|
for vm in $VMs
|
||
|
do
|
||
|
echo Starting $vm ...
|
||
|
sudo virsh start $vm
|
||
|
done
|