8 lines
123 B
Bash
Executable file
8 lines
123 B
Bash
Executable file
#!/bin/bash
|
|
VMs=$(sudo virsh list --all --name)
|
|
|
|
for vm in $VMs
|
|
do
|
|
echo Starting $vm ...
|
|
sudo virsh start $vm
|
|
done
|