Prevent Networkmanager from trying to optain IP address via DHCP
on unused/unmanaged network interfaces. Only act on interfaces. configured via wwctl otherwise system NetworkManager-wait-online.service. runs into a time out.
This commit is contained in:
committed by
Christian Goll
parent
838746fa06
commit
feb86ce11a
@@ -0,0 +1,14 @@
|
||||
{{- $host := .BuildHost }}
|
||||
{{- $time := .BuildTime }}
|
||||
{{- $source := .BuildSource }}
|
||||
{{- $filename := print "warewulf-unmanaged.conf" }}
|
||||
{{- file $filename }}
|
||||
# This file is autogenerated by warewulf
|
||||
# Host: {{ $host }}
|
||||
# Time: {{ $time }}
|
||||
# Source: {{ $source }}
|
||||
[main]
|
||||
plugins=keyfile
|
||||
|
||||
[keyfile]
|
||||
unmanaged-devices={{ range $connection_id, $netdev := .NetDevs }}except:interface-name:{{- $netdev.Device -}},{{ end }}
|
||||
Reference in New Issue
Block a user