enable host overlays, inform users if not enabled

This commit is contained in:
Christian Goll
2022-05-04 10:16:38 +02:00
parent 88453344f0
commit efb116919f
3 changed files with 5 additions and 2 deletions

View File

@@ -32,6 +32,8 @@ func NFS() error {
if err != nil {
wwlog.Printf(wwlog.WARN, "host overlay could not be built: %s\n", err)
}
} else {
wwlog.Printf(wwlog.INFO, "host overlays are disabled, did not modify exports")
}
fmt.Printf("Enabling and restarting the NFS services\n")
if controller.Nfs.SystemdName == "" {