Remove specific guidance from wwctl error messages

Guidance to run `wwctl configure dhcp` or `wwctl configure tftp` may be
misleading for sites that are managing these services directly. They are
also too specific, as simply re-running `wwctl configure -a` after
enabling them in the config should also be sufficient.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-09-03 19:40:59 -06:00
parent 6212f40e4c
commit 0b6785f722
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ func DHCP() (err error) {
controller := warewulfconf.Get()
if !controller.DHCP.Enabled {
wwlog.Warn("This system is not configured as a Warewulf DHCP controller, need to manually run `wwctl configure dhcp` later")
wwlog.Warn("This system is not configured as a Warewulf DHCP controller")
return
}

View File

@@ -42,7 +42,7 @@ func TFTP() (err error) {
}
}
if !controller.TFTP.Enabled {
wwlog.Warn("Warewulf does not auto start TFTP services due to disable by warewulf.conf, need to manually run `wwctl configure tftp` later")
wwlog.Warn("Warewulf does not auto start TFTP services due to disable by warewulf.conf")
return nil
}