Comment 1 for bug 1770082

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Works for me. I've been using a config like this for a while, the system sets the interface name at boot as expected:

network:
  version: 2
  renderer: networkd
  ethernets:
    mainif:
      match:
        macaddress: "b8:27:eb:b6:35:86"
      set-name: mainif
      addresses: [ "10.3.0.5/23" ]
      gateway4: 10.3.0.1
      [...]

The difference here is that this is hardware rather than a VM. Are we sure that the network interface shows up sufficiently early, and that the mac can be matched at the time?