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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user