Skip to content

Commit

Permalink
try fixing nfs mount opts
Browse files Browse the repository at this point in the history
  • Loading branch information
QcFe committed May 9, 2024
1 parent af2c10b commit e768997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion operators/pkg/forge/cloudinit.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func CloudInitUserData(nfsServerName, nfsPath string, publicKeys []string) ([]by
fmt.Sprintf("%s:%s", nfsServerName, nfsPath),
MyDriveVolumeMountPath,
"nfs",
"rw,tcp,hard,intr,rsize=8192,wsize=8192,timeo=14",
"rw,tcp,hard,intr,rsize=8192,wsize=8192,timeo=14,all_squash,anonuid=1000,anongid=1000",
"0",
"0",
}}
Expand Down
2 changes: 1 addition & 1 deletion operators/pkg/forge/cloudinit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mounts:
- - rook-ceph-nfs-my-nfs-a.rook-ceph.svc.cluster.local:/path
- /media/mydrive
- nfs
- rw,tcp,hard,intr,rsize=8192,wsize=8192,timeo=14
- rw,tcp,hard,intr,rsize=8192,wsize=8192,timeo=14,all_squash,anonuid=1000,anongid=1000
- "0"
- "0"
ssh_authorized_keys:
Expand Down

0 comments on commit e768997

Please sign in to comment.