Armada: Setting persistent MAC address. March 06, 2022 08:09AM |
Registered: 2 years ago Posts: 82 |
[ "${IFACE}" != "eth0" ] && exit 0as first command, and removing the ifup and ifdown line, the script can placed in /etc/network/if-pre-up.d/, and will be called just before eth0 will go up.
# Work around to set persistent MAC address in Armada boxes if [ -f /root/set_persistent_mac_address ]; then /root/set_persistent_mac_address fihas a bug, -f should be -x)
Re: Armada: Setting persistent MAC address. March 06, 2022 04:08PM |
Admin Registered: 13 years ago Posts: 18,856 |
Re: Armada: Setting persistent MAC address. March 08, 2022 09:11AM |
Registered: 5 years ago Posts: 256 |