Allow specifying the directory in CephFS that should be kernel mounted
at the given path.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
b7005a2ac2dacb7eb7b8116ca86068be82cc3807)
self.ipmi_domain = ipmi_domain
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)
log.info('Mounting kclient client.{id} at {remote} {mnt}...'.format(
self.fs.wait_for_daemons()
log.info('Ready to start {}...'.format(type(self).__name__))
- def mount(self, mount_path=None, mount_fs_name=None):
+ def mount(self, mount_path=None, mount_fs_name=None, mountpoint=None):
raise NotImplementedError()
def umount(self):