Add lab-build snippets and executing them in 'create'. Refactor create/destroy/pristine; also, only virsh destroy VMs if they are 'running'

This commit is contained in:
Pim van Pelt
2023-05-06 12:41:01 +00:00
parent bd4c76689d
commit 72245529a2
17 changed files with 102 additions and 24 deletions
build/default/hvn1.lab.ipng.ch
host1-0
host1-1
tap1-0
root
lab-build
vpp1-0
root
lab-build
vpp1-1
root
lab-build
vpp1-2
root
lab-build
vpp1-3
root
lab-build
createdestroy
overlays/bird
common
root
lab-build
host
root
lab-build
pristinevirshall

@ -0,0 +1,6 @@
#!/bin/sh
echo " * Disabling VPP, Bird and FRR"
for i in vpp vppcfg bird-dataplane frr; do
ln -sf /dev/null /etc/systemd/system/multi-user.target.wants/${i}.service
done