Simplify and clarify configuration
- changed "secure port" to "tls port" - removed the --create flag for "wwctl configure tls"; made it the default behavior - fixed a TLS creation bug in "wwctl configure --all" - added logging to "wwctl configure tls" and "wwctl configure --all" (for the tls case) Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -42,7 +42,7 @@ func (conf TFTPConf) Enabled() bool {
|
||||
// BaseConf.
|
||||
type WarewulfConf struct {
|
||||
Port int `yaml:"port,omitempty" default:"9873"`
|
||||
SecurePort int `yaml:"secure port,omitempty" default:"9874"`
|
||||
TlsPort int `yaml:"tls port,omitempty" default:"9874"`
|
||||
SecureP *bool `yaml:"secure,omitempty" default:"true"`
|
||||
EnableTLSP *bool `yaml:"tls,omitempty" default:"false"`
|
||||
UpdateInterval int `yaml:"update interval,omitempty" default:"60"`
|
||||
|
||||
Reference in New Issue
Block a user