mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-26 12:52:43 +01:00
systemd-networkd: configure based on type rather than name, add a comment on MACAddress matching
Resolves: warnings on potentially unpredictable interface names.
This commit is contained in:
parent
6de1498ebd
commit
8cc9353374
@ -1,5 +1,8 @@
|
||||
[Match]
|
||||
Name=eth0
|
||||
#Name=*
|
||||
# Can be {colon,hyphen,dot}-delimited hexadecimal or IPv{4,6} address
|
||||
#MACAddress=
|
||||
Type=ether
|
||||
|
||||
[Link]
|
||||
# My devices generally also have WiFi so lack of ethernet is not a reason
|
@ -1,5 +1,8 @@
|
||||
[Match]
|
||||
Name=wlan0
|
||||
#Name=*
|
||||
# Can be {colon,hyphen,dot}-delimited hexadecimal or IPv{4,6} address
|
||||
#MACAddress=
|
||||
Type=wlan
|
||||
|
||||
[Link]
|
||||
# Always set administrative state to up. Implies RequiredForOnline=yes
|
Loading…
Reference in New Issue
Block a user