Merge pull request #1448 from anderbubble/ciq-training-updates

Updates from CIQ training prep
This commit is contained in:
Jonathon Anderson
2024-11-06 19:12:49 -07:00
committed by GitHub
8 changed files with 9 additions and 10 deletions

View File

@@ -53,6 +53,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Changed `wwctl server` to use "INFO" for send and receive logs #725
- Remove a 3-second sleep during iPXE boot. #1500
- Don't package the API in RPM packages by default. #1493
- Update default `warewulfd` port to match shipped configuration. #1448
### Removed

View File

@@ -62,7 +62,7 @@ This is the port that the Warewulf web server will be listening on. It
is recommended not to change this so there is no misalignment with
node's expectations of how to contact the Warewulf service.
Default: 9983
Default: 9873
.IP
.TP

View File

@@ -1,9 +1,7 @@
WW_INTERNAL: 45
ipaddr: 10.0.0.1
netmask: 255.255.252.0
network: 10.0.0.0
warewulf:
port: 9873
secure: false
update interval: 60
autobuild overlays: true

View File

@@ -38,7 +38,7 @@ type TFTPConf struct {
// WarewulfConf adds additional Warewulf-specific configuration to
// BaseConf.
type WarewulfConf struct {
Port int `yaml:"port" default:"9983"`
Port int `yaml:"port" default:"9873"`
Secure bool `yaml:"secure" default:"true"`
UpdateInterval int `yaml:"update interval" default:"60"`
AutobuildOverlays bool `yaml:"autobuild overlays" default:"true"`

View File

@@ -41,7 +41,7 @@ type RootConf struct {
SSH *SSHConf `yaml:"ssh,omitempty"`
MountsContainer []*MountEntry `yaml:"container mounts" default:"[{\"source\": \"/etc/resolv.conf\", \"dest\": \"/etc/resolv.conf\"}]"`
Paths *BuildConfig `yaml:"paths"`
WWClient *WWClientConf `yaml:"wwclient"`
WWClient *WWClientConf `yaml:"wwclient,omitempty"`
warewulfconf string
}

View File

@@ -10,7 +10,7 @@ import (
func TestDefaultRootConf(t *testing.T) {
conf := New()
assert.Equal(t, 9983, conf.Warewulf.Port)
assert.Equal(t, 9873, conf.Warewulf.Port)
assert.True(t, conf.Warewulf.Secure)
assert.Equal(t, 60, conf.Warewulf.UpdateInterval)
assert.True(t, conf.Warewulf.AutobuildOverlays)
@@ -155,8 +155,8 @@ func TestCache(t *testing.T) {
confOrig := New()
confCached := Get()
assert.Equal(t, 9983, confOrig.Warewulf.Port)
assert.Equal(t, 9983, confCached.Warewulf.Port)
assert.Equal(t, 9873, confOrig.Warewulf.Port)
assert.Equal(t, 9873, confCached.Warewulf.Port)
confOrig.Warewulf.Port = 9999
assert.Equal(t, 9999, confCached.Warewulf.Port)

View File

@@ -172,7 +172,7 @@ data from other structures.
### Warewulf
- Port: 9983
- Port: 9873
- Secure: true
- UpdateInterval: 60
- AutobuildOverlays: true

View File

@@ -178,7 +178,7 @@ The first listed key type is used to generate authentication ssh keys.
nodes.conf
==========
The ``nodes.conf`` file is the primary database file for all compute
The ``nodes.conf`` file is the primary registry for all compute
nodes. It is a flat text YAML configuration file that is managed by
the ``wwctl`` command, but some sites manage the compute nodes and
infrastructure via configuration management. This file being flat text