systemd-link.tmpl 169 B

12345678910
  1. {%- set mac = iface_config.get ('mac', iface_config.get ('_udev_mac')) -%}
  2. #
  3. # {{ interface }} / {{ desc }}
  4. #
  5. [Match]
  6. MACAddress={{ mac }}
  7. [Link]
  8. Name={{ interface }}