]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: allow specifying mountpoints for FUSE mounts
authorRishabh Dave <ridave@redhat.com>
Tue, 30 Jul 2019 11:27:31 +0000 (16:57 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 6 Nov 2019 06:06:10 +0000 (11:36 +0530)
Allow specifying the directory in CephFS that should be FUSE mounted at
the given path.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/fuse_mount.py

index 71f7eb8062904a8c48d69709dd28e960189f7ae4..f02e437cd32cb377f9077d153c1fb7210cf4fca8 100644 (file)
@@ -26,7 +26,9 @@ class FuseMount(CephFSMount):
         self.inst = None
         self.addr = None
 
-    def mount(self, mount_path=None, mount_fs_name=None):
+    def mount(self, mount_path=None, mount_fs_name=None, mountpoint=None):
+        if mountpoint is not None:
+            self.mountpoint = mountpoint
         self.setupfs(name=mount_fs_name)
 
         try: