]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: trim nfs.json sample
authorMichael Fritch <mfritch@suse.com>
Tue, 3 Mar 2020 21:06:54 +0000 (14:06 -0700)
committerMichael Fritch <mfritch@suse.com>
Thu, 12 Mar 2020 14:08:59 +0000 (08:08 -0600)
we only need to specify the rados pool and config object url

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/samples/nfs.json

index 1b01489d85677682e592b0ddd6592c7d64db3d95..2e6625101dac946153dce8a7e5e26a42b357abe8 100644 (file)
@@ -3,40 +3,8 @@
     "namespace" : "nfs-ns",
     "files": {
         "ganesha.conf": [
-            "NFS_CORE_PARAM {",
-            "        Enable_NLM = false;",
-            "        Enable_RQUOTA = false;",
-            "        Protocols = 4;",
-            "}",
-            "",
-            "CACHEINODE {",
-            "        Dir_Chunk = 0;",
-            "        NParts = 1;",
-            "        Cache_Size = 1;",
-            "}",
-            "",
-            "EXPORT_DEFAULTS {",
-            "        Attr_Expiration_Time = 0;",
-            "}",
-            "",
-            "NFSv4 {",
-            "        Delegations = false;",
-            "        RecoveryBackend = 'rados_cluster';",
-            "        Minor_Versions = 1, 2;",
-            "}",
-            "",
-            "RADOS_KV {",
-            "        ceph_conf = '/etc/ceph/ceph.conf';",
-            "        userid = admin;",
-            "        nodeid = nfs.a;",
-            "        pool = 'nfs-ganesha';",
-            "        namespace = 'nfs-ns';",
-            "}",
-            "",
             "RADOS_URLS {",
-            "        ceph_conf = '/etc/ceph/ceph.conf';",
             "        userid = admin;",
-            "        watch_url = 'rados://nfs-ganesha/nfs-ns/conf-nfs.a';",
             "}",
             "",
             "%url    rados://nfs-ganesha/nfs-ns/conf-nfs.a",