removing the default publicmac value to be sure it's always set. it just NEEDS to match what libvirt/qemu thinks it is

This commit is contained in:
toby 2019-04-10 22:03:01 +00:00
parent 0bed52d345
commit 0d20e9c028
1 changed files with 1 additions and 1 deletions

View File

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