Fixups for NodeDB

This commit is contained in:
Gregory Kurtzer
2020-12-01 13:05:14 -08:00
parent cc55c2a196
commit 6968744e55
2 changed files with 5 additions and 0 deletions

View File

@@ -147,6 +147,7 @@ func (self *nodeYaml) FindAllControllers() ([]ControllerInfo, error) {
c.Id = controllername
c.Ipaddr = controller.Ipaddr
//TODO: Is there a better way to do this, cause EWWW!
c.Services = struct {
Warewulfd struct {
Port string
@@ -157,6 +158,7 @@ func (self *nodeYaml) FindAllControllers() ([]ControllerInfo, error) {
}
Dhcp struct {
Enabled bool
Template string
RangeStart string
RangeEnd string
ConfigFile string