Merge pull request #245 from hpcng/conigure-ssh-fix

removed leading /etc for key location
This commit is contained in:
Christian Goll
2022-01-19 15:20:53 +01:00
committed by GitHub

View File

@@ -20,7 +20,7 @@ func Configure(show bool) error {
if os.Getuid() == 0 {
fmt.Printf("Updating system keys\n")
wwkeydir := path.Join(buildconfig.SYSCONFDIR(), "/etc/warewulf/keys") + "/"
wwkeydir := path.Join(buildconfig.SYSCONFDIR(), "warewulf/keys") + "/"
err := os.MkdirAll(path.Join(buildconfig.SYSCONFDIR(), "warewulf/keys"), 0755)
if err != nil {