since we changed the manual vmrun script we can now force the if-variable file to be present in qemu-ifup

This commit is contained in:
toby 2019-02-23 05:05:21 +00:00
parent a497c70abe
commit 15c67eae20
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
set -Eeuo pipefail
IFACE=$1
source /etc/libvirt/hooks/$IFACE || true
source /etc/libvirt/hooks/$IFACE
if ! [[ $CLUSTER =~ ^[0-9]+$ ]]; then
echo "CLUSTER seems not to be valid"

View File

@ -2,7 +2,7 @@
set -Eeuo pipefail
IFACE=$1
source /etc/libvirt/hooks/$IFACE || true
source /etc/libvirt/hooks/$IFACE
### I need to keep this for backwards compatibility but PUBLICMAC should always be set since it absolutely needs to match the MAC the VM has been assigned by qemu. otherwise nothign will work
: ${PUBLICMAC:=52:54:00:00:00:11}