Merge pull request #373 from mslacken/overlay-fixes
various fixes in overlays
This commit is contained in:
@@ -1,3 +1 @@
|
||||
root::0:0:root:/root:/bin/bash
|
||||
{{IncludeFrom $.Container "/etc/passwd"}}
|
||||
{{Include "/etc/passwd"}}
|
||||
|
||||
@@ -7,6 +7,6 @@ Network:
|
||||
{{- range $devname, $netdev := .NetDevs}}
|
||||
{{$devname}}: {{$netdev.Device}}
|
||||
{{$devname}}: {{$netdev.IpCIDR}}
|
||||
{{if $netdev.Ipaddr6 }} {{$devname}}: {{$netdev.Ipaddr6}}{{ end }}
|
||||
{{if $netdev.Hwaddr }} {{$devname}}: {{$netdev.Hwaddr}}{{ end }}
|
||||
{{if $netdev.Ipaddr6 }} {{$devname}}: {{$netdev.Ipaddr6}}{{ end -}}
|
||||
{{if $netdev.Hwaddr }} {{$devname}}: {{$netdev.Hwaddr}}{{ end -}}
|
||||
{{end}}
|
||||
|
||||
@@ -25,7 +25,7 @@ IPV6INIT=yes
|
||||
IPV6_AUTOCONF=yes
|
||||
IPV6_DEFROUTE=yes
|
||||
IPV6_FAILURE_FATAL=no
|
||||
{{ if $.NetDevs.default.Ipaddr6 -}}
|
||||
IPV6ADDR="{{ $.NetDevs.default.Ipaddr6 }}"
|
||||
{{ if $netdev.Ipaddr6 -}}
|
||||
IPV6ADDR="{{ $netdev.Ipaddr6 }}"
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
|
||||
@@ -5,7 +5,7 @@ After=local-fs.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/warewulf/bin/wwclient
|
||||
ExecStart=/warewulf/wwclient
|
||||
ExecReload=/bin/kill -s SIGHUP "$MAINPID"
|
||||
PIDFile=/var/run/wwclient.pid
|
||||
TimeoutSec=60
|
||||
|
||||
@@ -38,10 +38,10 @@ Source: {{ $source }}
|
||||
<privacy>prefer-public</privacy>
|
||||
<accept-redirects>false</accept-redirects>
|
||||
</ipv6>
|
||||
{{ if $.NetDevs.default.Ipaddr6 -}}
|
||||
{{ if $netdev.Ipaddr6 -}}
|
||||
<ipv6:static>
|
||||
<address>
|
||||
<local>{{ $.NetDevs.default.Ipaddr6 }}</local>
|
||||
<local>{{ $netdev.Ipaddr6 }}</local>
|
||||
</address>
|
||||
</ipv6:static>
|
||||
{{ end -}}
|
||||
|
||||
Reference in New Issue
Block a user