A (ugly) work around is to use the loopback pre-up script.
/etc/network/interfaces:
auto lo
iface lo inet loopback
pre-up /path/to/script
That way I was able to change my MAC address before the ethX get up.
I think this could be used to load firewall rules as well.
Definitely, this job should be done by NM.
--
NetworkManager does not call /etc/network/if-pre-up.d scripts
https://bugs.launchpad.net/bugs/336736
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs