Read the defaults for anode from defaults.conf

This commit is contained in:
Christian Goll
2022-09-15 10:33:27 +02:00
parent 6cc58fcfff
commit efd761f7c3
6 changed files with 82 additions and 15 deletions

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"github.com/hpcng/warewulf/internal/pkg/node"
)
/*
Print the build in defaults for the nodes.
Called via Makefile so that there is single upstream
source of the defaults which is FallBackConf
*/
func main() {
fmt.Println(node.FallBackConf)
}