diff --git a/internal/pkg/node/methods.go b/internal/pkg/node/methods.go index 2e0546af..322785ed 100644 --- a/internal/pkg/node/methods.go +++ b/internal/pkg/node/methods.go @@ -4,6 +4,8 @@ import ( "fmt" "regexp" "strings" + + "github.com/hpcng/warewulf/internal/pkg/wwlog" ) /********** @@ -56,7 +58,8 @@ func (ent *Entry) Set(val string) { } if val == "UNDEF" || val == "DELETE" || val == "UNSET" || val == "--" { - ent.value = []string{} + wwlog.Debug("Removing value for %v\n", *ent) + ent.value = []string{""} } else { ent.value = []string{val} }