Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appendpathtomounthomevolume #15

Merged
merged 7 commits into from
Mar 21, 2024
Merged

appendpathtomounthomevolume #15

merged 7 commits into from
Mar 21, 2024

Conversation

alexandredevely
Copy link
Member

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

@alexandredevely alexandredevely merged commit baf7b29 into 3.2 Mar 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant