Skip to content

Network File System (NFS) - Enable

config/feature.json
63  "WPFFeaturenfs": {
64    "Content": "Network File System (NFS) - Enable",
65    "Description": "Network File System (NFS) is a mechanism for storing files on a network.",
66    "category": "Features",
67    "panel": "1",
68    "feature": [
69      "ServicesForNFS-ClientOnly",
70      "ClientForNFS-Infrastructure",
71      "NFS-Administration"
72    ],
73    "InvokeScript": [
74      "nfsadmin client stop",
75      "Set-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\ClientForNFS\\CurrentVersion\\Default' -Name 'AnonymousUID' -Type DWord -Value 0",
76      "Set-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\ClientForNFS\\CurrentVersion\\Default' -Name 'AnonymousGID' -Type DWord -Value 0",
77      "nfsadmin client start",
78      "nfsadmin client localhost config fileaccess=755 SecFlavors=+sys -krb5 -krb5i"
79    ],