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:
parent
a497c70abe
commit
15c67eae20
|
@ -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"
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue