From 0b6785f7223e3e6b7b8baedf6ff60075b7aef8e3 Mon Sep 17 00:00:00 2001 From: Jonathon Anderson Date: Tue, 3 Sep 2024 19:40:59 -0600 Subject: [PATCH] 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 --- internal/pkg/configure/dhcp.go | 2 +- internal/pkg/configure/tftp.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/pkg/configure/dhcp.go b/internal/pkg/configure/dhcp.go index dfeb0f1e..175f10af 100644 --- a/internal/pkg/configure/dhcp.go +++ b/internal/pkg/configure/dhcp.go @@ -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 } diff --git a/internal/pkg/configure/tftp.go b/internal/pkg/configure/tftp.go index 08bea5f7..4baadf15 100644 --- a/internal/pkg/configure/tftp.go +++ b/internal/pkg/configure/tftp.go @@ -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 }