From 0d20e9c028a4ffc09a9675537c043db9e53ca8a1 Mon Sep 17 00:00:00 2001 From: toby Date: Wed, 10 Apr 2019 22:03:01 +0000 Subject: [PATCH] removing the default publicmac value to be sure it's always set. it just NEEDS to match what libvirt/qemu thinks it is --- files/qemu-ifup-public | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/qemu-ifup-public b/files/qemu-ifup-public index ca75ad9..b694e5f 100755 --- a/files/qemu-ifup-public +++ b/files/qemu-ifup-public @@ -12,7 +12,7 @@ source /etc/libvirt/hooks/$IFACE ### PUBLICMAC should always be set, keeping this for compatibility with libvirt. ### the MAC the VM has been assigned by qemu needs to be known here, but AFAIK libvirt doesn't support exporting env vars to ifup script, so this needs to be static on the public interface in qemu ### if this is not set correctly the routing in the VM won't work -: ${PUBLICMAC:=52:54:00:00:00:11} +#: ${PUBLICMAC:=52:54:00:00:00:11} # commenting it out. libvirt as of now does not start routerVMs and once we start we need to figure out a way to transmit/deploy the IP info as well ### maxprefixv6=56