@@ -20,6 +20,9 @@ GATEWAY={{ $netdev.Gateway }}
|
||||
{{ if $netdev.Hwaddr -}}
|
||||
HWADDR={{ $netdev.Hwaddr }}
|
||||
{{ end -}}
|
||||
{{ if $netdev.Type -}}
|
||||
TYPE={{ $netdev.Type }}
|
||||
{{ end -}}
|
||||
ONBOOT=yes
|
||||
IPV6INIT=yes
|
||||
IPV6_AUTOCONF=yes
|
||||
|
||||
@@ -12,6 +12,9 @@ Source: {{ $source }}
|
||||
-->
|
||||
<interface origin="static generated warewulf config">
|
||||
<name>{{$netdev.Device}}</name>
|
||||
{{ if $netdev.Type -}}
|
||||
<link-type>{{ $netdev.Type }}</link-type>
|
||||
{{ end -}}
|
||||
<control>
|
||||
<mode>boot</mode>
|
||||
</control>
|
||||
|
||||
Reference in New Issue
Block a user