We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3fe07b commit ca4ba65Copy full SHA for ca4ba65
files/cloud-init/jump/cloud-config
@@ -43,10 +43,13 @@ runcmd:
43
# mount the nfs
44
#
45
- while [ `df -h | grep "${rwx_filestore_endpoint}:${rwx_filestore_path}" | wc -l` -eq 0 ]; do sleep 5 && mount -a ; done
46
+ # Create pvs folder and adjust permissions and ownership only if the folder doesn't exist
47
+ # On subsequent jump server creation if the mounted NFS already contains a "pvs" directory
48
+ # then do not overwrite permissions and ownership set by SAS Viya
49
- if ! [ -d "${jump_rwx_filestore_path}/pvs" ]
50
- then
51
- # Change permissions and owner
52
+ # Change permissions and ownership
53
54
- mkdir -p ${jump_rwx_filestore_path}/pvs
55
- $(chmod -fR 777 ${jump_rwx_filestore_path} ; echo)
0 commit comments