mirror of
https://github.com/speatzle/nfsense.git
synced 2025-09-13 15:19:08 +00:00
dont rename hardware interfaces
This commit is contained in:
parent
4478bd7f41
commit
6370c45483
9 changed files with 38 additions and 48 deletions
|
@ -1,5 +1,9 @@
|
|||
[Match]
|
||||
{{- if eq .Type 0 }}
|
||||
Name={{ .HardwareDevice }}
|
||||
{{- else }}
|
||||
Name={{ .Name }}
|
||||
{{- end }}
|
||||
|
||||
[Network]
|
||||
Vlan={{ .BondName }}
|
||||
Bond={{ .BondName }}
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
[Match]
|
||||
{{- if eq .Type 0 }}
|
||||
Name={{ .HardwareDevice }}
|
||||
{{- else }}
|
||||
Name={{ .Name }}
|
||||
{{- end }}
|
||||
|
||||
[Network]
|
||||
Bridge={{ .BridgeName }}
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
[Match]
|
||||
{{- if eq .Type 0 }}
|
||||
Name={{ .HardwareDevice }}
|
||||
{{- else }}
|
||||
Name={{ .Name }}
|
||||
{{- end }}
|
||||
|
||||
[Network]
|
||||
LLMNR=no
|
||||
|
|
|
@ -3,4 +3,4 @@ Name={{ .Name }}
|
|||
Kind=vlan
|
||||
|
||||
[VLAN]
|
||||
Id= {{ .VlanID }}
|
||||
Id={{ .VlanID }}
|
|
@ -1,8 +0,0 @@
|
|||
[Match]
|
||||
PermanentMACAddress={{ .HardwareAddress }}
|
||||
|
||||
[Link]
|
||||
Name={{ .Name }}
|
||||
{{ if .Alias -}}
|
||||
Alias={{ .Alias }}
|
||||
{{- end }}
|
|
@ -1,5 +1,9 @@
|
|||
[Match]
|
||||
{{- if eq .Type 0 }}
|
||||
Name={{ .HardwareDevice }}
|
||||
{{- else }}
|
||||
Name={{ .Name }}
|
||||
{{- end }}
|
||||
|
||||
[Network]
|
||||
{{- range .Vlans }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue