Mercurial > infra > box / airootfs/etc/systemd/network/20-ethernet.network
changeset 2: |
2fafbe22bd34 |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Fri, 31 May 2024 17:30:09 -0400 |
permissions: |
-rw-r--r-- |
description: |
init releng |
2 # Matching with "Type=ether" causes issues with containers because it also matches virtual Ethernet interfaces (veth*). 3 # See https://bugs.archlinux.org/task/70892 4 # Instead match by globbing the network interface name. 9 RequiredForOnline=routable 15 # systemd-networkd does not set per-interface-type default route metrics 16 # https://github.com/systemd/systemd/issues/17698 17 # Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband. 18 # Use values from NetworkManager. From nm_device_get_route_metric_default in 19 # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c