Added a configurable update interval for WWClient

This commit is contained in:
Gregory Kurtzer
2020-12-03 19:14:40 -08:00
parent e30728b16d
commit df96dee6be
3 changed files with 11 additions and 5 deletions

View File

@@ -20,10 +20,11 @@ type ControllerConf struct {
}
type WarewulfConf struct {
Port int `yaml:"port,omitempty"`
Secure bool `yaml:"secure,omitempty"`
Enable string `yaml:"enable command,omitempty"`
Restart string `yaml:"restart command,omitempty"`
Port int `yaml:"port,omitempty"`
Secure bool `yaml:"secure,omitempty"`
Enable string `yaml:"enable command,omitempty"`
Restart string `yaml:"restart command,omitempty"`
UpdateInterval int `yaml:"update interval,omitempty"`
}
type DhcpConf struct {