From db724a8fef183f6f5200bc0e93428a19c69d1342 Mon Sep 17 00:00:00 2001 From: Ivo Almeida Date: Thu, 14 Mar 2024 16:14:25 +0000 Subject: [PATCH] mgr/dashboard: fixed nfs attach command Fixes: https://tracker.ceph.com/issues/64933 Signed-off-by: Ivo Almeida --- .../cephfs-mount-details/cephfs-mount-details.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-mount-details/cephfs-mount-details.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-mount-details/cephfs-mount-details.component.ts index af0b93a96af69..76fd81aa9413f 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-mount-details/cephfs-mount-details.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-mount-details/cephfs-mount-details.component.ts @@ -21,7 +21,7 @@ export class CephfsMountDetailsComponent implements OnInit, OnDestroy { ngOnInit(): void { this.mount = `sudo mount -t ceph @${this.mountData?.fsId}.${this.mountData?.fsName}=${this.mountData?.rootPath} ${this.MOUNT_DIRECTORY}`; this.fuse = `sudo ceph-fuse ${this.MOUNT_DIRECTORY} -r ${this.mountData?.rootPath} --client_mds_namespace=${this.mountData?.fsName}`; - this.nfs = `sudo mount -t nfs -o port= :${this.mountData?.rootPath} ${this.MOUNT_DIRECTORY}`; + this.nfs = `sudo mount -t nfs -o port= : ${this.MOUNT_DIRECTORY}`; } ngOnDestroy(): void { -- 2.39.5