Comment 1 for bug 1718607

Revision history for this message
Daniel Axtens (daxtens) wrote :

Hi Oliver,

It looks like there's an undocumented macaddress option that is supported by both the network manager and networkd backends but just isn't talked about in the docs.

I don't know when it was added but it is certainly in the latest git version.

Does a file like this work?

network:
  version: 2
  ethernets:
    eth0:
      addresses: [1.2.3.4/8]
      macaddress: 52:54:00:6b:3c:59

I will send a patch to document this option.