blob: 5ffea033e3651328a92ef11fd7cbb814049137c6 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
# Starts libvirtd, default network, and optionally any domains given as arguments
pgrep libvirtd >/dev/null || sudo systemctl start libvirtd
virsh net-start default
for domain in "$@"
do
virsh start $domain
done
|