Armada: Setting persistent MAC address. March 06, 2022 08:09AM |
Registered: 1 year ago Posts: 72 |
[ "${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: 12 years ago Posts: 17,721 |
Re: Armada: Setting persistent MAC address. March 08, 2022 09:11AM |
Registered: 4 years ago Posts: 237 |