mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 14:49:31 +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]
|
[Match]
|
||||||
Name=eth0
|
#Name=*
|
||||||
|
# Can be {colon,hyphen,dot}-delimited hexadecimal or IPv{4,6} address
|
||||||
|
#MACAddress=
|
||||||
|
Type=ether
|
||||||
|
|
||||||
[Link]
|
[Link]
|
||||||
# My devices generally also have WiFi so lack of ethernet is not a reason
|
# My devices generally also have WiFi so lack of ethernet is not a reason
|
@ -1,5 +1,8 @@
|
|||||||
[Match]
|
[Match]
|
||||||
Name=wlan0
|
#Name=*
|
||||||
|
# Can be {colon,hyphen,dot}-delimited hexadecimal or IPv{4,6} address
|
||||||
|
#MACAddress=
|
||||||
|
Type=wlan
|
||||||
|
|
||||||
[Link]
|
[Link]
|
||||||
# Always set administrative state to up. Implies RequiredForOnline=yes
|
# Always set administrative state to up. Implies RequiredForOnline=yes
|
Loading…
Reference in New Issue
Block a user