Trying this with the latest beta version of Ubuntu Bionic (`apt show nplan` returns Version: 0.33), it does not seem to work: I have /etc/netplan/01-netcfg.yaml
but `ip link show enp0s25` still returns the old MAC address (after both `sudo netplan apply` and after reboot), whereas `sudo ip link set enp0s25 address 12:34:56:78:AB:CD && sudo systemctl restart systemd-networkd` works as expected.
Trying this with the latest beta version of Ubuntu Bionic (`apt show nplan` returns Version: 0.33), it does not seem to work: I have /etc/netplan/ 01-netcfg. yaml
network:
macaddress: 12:34:56:78:AB:CD
version: 2
renderer: networkd
ethernets:
enp0s25:
dhcp4: true
but `ip link show enp0s25` still returns the old MAC address (after both `sudo netplan apply` and after reboot), whereas `sudo ip link set enp0s25 address 12:34:56:78:AB:CD && sudo systemctl restart systemd-networkd` works as expected.