iac/terraform/dos/scripts/on.sh

7 lines
130 B
Bash
Executable file

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