infra-generale/start_all.sh

9 lines
123 B
Bash
Raw Normal View History

2022-05-21 00:18:32 +02:00
#!/bin/bash
2022-05-20 22:13:38 +02:00
VMs=$(sudo virsh list --all --name)
for vm in $VMs
do
echo Starting $vm ...
sudo virsh start $vm
done