diff --git a/internal/pkg/warewulfconf/datastructure.go b/internal/pkg/warewulfconf/datastructure.go index 7d9be76e..c0360e9a 100644 --- a/internal/pkg/warewulfconf/datastructure.go +++ b/internal/pkg/warewulfconf/datastructure.go @@ -47,7 +47,6 @@ type TftpConf struct { type NfsConf struct { Enabled bool `default:"true" yaml:"enabled"` - Exports []string `yaml:"exports"` ExportsExtended []*NfsExportConf `yaml:"export paths"` SystemdName string `yaml:"systemd name"` } diff --git a/overlays/host/etc/exports.ww b/overlays/host/etc/exports.ww index 56291e10..33558262 100644 --- a/overlays/host/etc/exports.ww +++ b/overlays/host/etc/exports.ww @@ -8,9 +8,6 @@ {{- range .Nfs.ExportsExtended }} {{ .Path }} {{ $network }}/{{ $netmask }}({{ .ExportOptions }}) {{- end }} -{{range .Nfs.Exports }} -{{ . }} {{ $network }}/{{ $netmask }}(rw,sync) -{{- end }} {{- else }} {{ abort }} {{- end }}