Comment 20 for bug 1802004

Revision history for this message
Isaac True (itrue) wrote (last edit ):

Separating the rename and address management into two YAML blocks seems to be a workaround for whatever is causing this problem:

network:
  version: 2
  renderer: networkd
  ethernets:
    en1-rename:
      match:
        driver: "imx-dwmac"
      set-name: "en1"
    en1:
      match:
        name: "en1"
      addresses:
      - "192.168.0.200/24"

The problem seems to be related to having both Driver and Name in the [Match] section of the .network file.