Add xml2dto command to override MAC address
This is reworked version of !137.
Most of the functionality has been dropped. Now it can only generate an overlay with the 'local-mac-address' and 'serial' properties.
Note:
make sure cloned-mac-address
is not set for active NM connection.
Otherwise MAC will not be changed even if local-mac-address
is set in device tree.
To unset it use the following command:
nmcli con modify "Wired connection eth0" 802-3-ethernet.cloned-mac-address ""
Edited by Dmitry Petrov