First pass at a rework of the overlay subsystem in Warewulf

This commit is contained in:
Gregory Kurtzer
2021-12-29 16:11:25 -08:00
parent 02a5de3873
commit 00d8d42e9d
62 changed files with 405 additions and 628 deletions

View File

@@ -0,0 +1,9 @@
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback

View File

@@ -0,0 +1,7 @@
auto {{.NetDevs.default.Device}}
allow-hotplug {{.NetDevs.default.Device}}
iface {{.NetDevs.default.Device}} inet static
address {{.NetDevs.default.Ipaddr}}
netmask {{.NetDevs.default.Netmask}}
gateway {{.NetDevs.default.Gateway}}
up ifmetric {{.NetDevs.default.Device}} 30