First pass at a rework of the overlay subsystem in Warewulf
This commit is contained in:
9
overlays/wwinit/etc/network/interfaces
Normal file
9
overlays/wwinit/etc/network/interfaces
Normal 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
|
||||
|
||||
7
overlays/wwinit/etc/network/interfaces.d/default.ww
Normal file
7
overlays/wwinit/etc/network/interfaces.d/default.ww
Normal 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
|
||||
Reference in New Issue
Block a user