Add network as part of the warewulfconf (figure it out if undef)

This commit is contained in:
Gregory Kurtzer
2020-12-19 21:03:01 -08:00
parent 154f90a972
commit 5e8ef337d0
2 changed files with 19 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ type ControllerConf struct {
Comment string `yaml:"comment"`
Ipaddr string `yaml:"ipaddr"`
Netmask string `yaml:"netmask"`
Network string `yaml:"network,omitempty"`
Fqdn string `yaml:"fqdn,omitempty"`
Warewulf *WarewulfConf `yaml:"warewulf"`
Dhcp *DhcpConf `yaml:"dhcp"`