2020-04-24 08:30:07 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
|
|
|
|
# Cleanup vagrant VMs to avoid name conflicts
|
|
|
|
|
2020-04-29 14:14:24 +00:00
|
|
|
apt-get install -y libvirt-clients
|
|
|
|
|
2020-04-24 08:30:07 +00:00
|
|
|
for i in $(virsh list --name)
|
|
|
|
do
|
|
|
|
virsh destroy "$i"
|
|
|
|
virsh undefine "$i"
|
|
|
|
done
|