removed getters as configs must exportable

Signed-off-by: Christian Goll <cgoll@suse.de>
This commit is contained in:
Christian Goll
2023-03-06 09:59:25 +01:00
parent b55473e1e4
commit ce43dfa0b7
17 changed files with 29 additions and 103 deletions

View File

@@ -29,7 +29,7 @@ var (
func KernelImageTopDir() string {
conf := warewulfconf.New()
return path.Join(conf.WWPROVISIONDIR(), "kernel")
return path.Join(conf.Paths.WWProvisiondir, "kernel")
}
func KernelImage(kernelName string) string {