add desktop.appendpathtomounthomevolume
The new option is desktop.appendpathtomounthomevolume (it’s a string)
You need to set this value to ‘..’
desktop.appendpathtomounthomevolume: '..'
Read homedir (posix account) from ldap server
For example: homedir = /home/fry
Build the homedir with the python code
user_homedirectory = os.path.normpath( os.path.join( user_homedirectory, oc.od.settings.desktop.get('appendpathtomounthomevolume') ) )
For example: homedir = /home/fry/.. this becomes homedir = /home
The mounted volume is /home ( in fact the PVC from your PV )
Then abcdesktop set the $HOME value
Set the env var to $HOME=/home/fry
add desktop.appendpathtomounthomevolume The new option is desktop.appendpathtomounthomevolume (it’s a string)
You need to set this value to ‘..’ desktop.appendpathtomounthomevolume: '..'
Read homedir (posix account) from ldap server For example: homedir = /home/fry
Build the homedir with the python code user_homedirectory = os.path.normpath( os.path.join( user_homedirectory, oc.od.settings.desktop.get('appendpathtomounthomevolume') ) )
For example: homedir = /home/fry/.. this becomes homedir = /home
The mounted volume is /home ( in fact the PVC from your PV ) Then abcdesktop set the $HOME value Set the env var to $HOME=/home/fry