Infrastructure-as-Code/debian/scripts/on.sh

8 lines
130 B
Bash
Raw Normal View History

#!/bin/bash
for vm in $(virsh list --all --name --state-shutoff); do \
echo "[*] Starting vm: $vm"; \
virsh start $vm; \
done