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

View File

@ -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

View File

@ -0,0 +1,5 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/

View File

@ -0,0 +1,4 @@
#!/bin/sh
echo "Testing build snippets"
date

View File

@ -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

View File

@ -0,0 +1,5 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/

View File

@ -0,0 +1,4 @@
#!/bin/sh
echo "Testing build snippets"
date

View File

@ -0,0 +1,5 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/

View File

@ -0,0 +1,5 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/

View File

@ -0,0 +1,5 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/

View File

@ -0,0 +1,5 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/

View File

@ -0,0 +1,5 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/