mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2026-01-23 02:25:16 +00:00
Merge branch 'feature/KASM-7297_smartcard_container' into 'develop'
KASM-7297 "Smartcard container" Closes KASM-7297 See merge request kasm-technologies/internal/workspaces-images!320
This commit is contained in:
commit
28d43b594d
1 changed files with 7 additions and 0 deletions
|
|
@ -180,6 +180,13 @@ fi
|
|||
echo 'user_pref("security.sandbox.warn_unprivileged_namespaces", false);' > $HOME/.mozilla/firefox/kasm/user.js
|
||||
chown 1000:1000 $HOME/.mozilla/firefox/kasm/user.js
|
||||
|
||||
# configure smartcard support
|
||||
# note: some firefox versions don't read from the global pkcs11.txt when creating profiles
|
||||
if [[ ${KASM_SVC_SMARTCARD:-1} == 1 ]] && [ -f "$HOME/.pki/nssdb/pkcs11.txt" ]; then
|
||||
cp $HOME/.pki/nssdb/pkcs11.txt $HOME/.mozilla/firefox/kasm/pkcs11.txt
|
||||
chown 1000:1000 $HOME/.mozilla/firefox/kasm/pkcs11.txt
|
||||
fi
|
||||
|
||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|rhel9|almalinux9|almalinux8|opensuse|fedora39|fedora40|fedora41) ]]; then
|
||||
set_desktop_icon
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue