Description: Treat vlan interfaces as if they steal MAC addresses always Add a workaround in interface_has_own_mac() function to always treat vlan interfaces as if they have a stolen MAC address, because kernels before v4.7 lie about it. Author: Dimitri John Ledkov Bug-Upstream: https://bugs.launchpad.net/cloud-init/+bug/1682871 --- cloud-init-0.7.9-90-g61eb03fe.orig/cloudinit/net/__init__.py +++ cloud-init-0.7.9-90-g61eb03fe/cloudinit/net/__init__.py @@ -222,6 +222,10 @@ def interface_has_own_mac(ifname, strict assign_type = read_sys_net_int(ifname, "addr_assign_type") if strict and assign_type is None: raise ValueError("%s had no addr_assign_type.") + # <