This commit is contained in:
tim-allen-ck 2024-04-26 12:18:28 +01:00
Родитель 977b487e64
Коммит 757d565276
2 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-service-guacamole-linuxvm
version: 0.6.39
version: 0.6.40
description: "An Azure TRE User Resource Template for Guacamole (Linux)"
dockerfile: Dockerfile.tmpl
registry: azuretre

Просмотреть файл

@ -26,6 +26,8 @@ echo "init_vm.sh: xrdp"
sudo apt install -y xrdp xorgxrdp xfce4-session
sudo adduser xrdp ssl-cert
sudo -u "${VM_USER}" -i bash -c 'echo xfce4-session > ~/.xsession'
sudo -u "${VM_USER}" -i bash -c 'echo xset s off > ~/.xsession'
sudo -u "${VM_USER}" -i bash -c 'echo xset -dpms > ~/.xsession'
sleep 10
@ -146,11 +148,6 @@ sudo systemctl restart docker
# R config
sudo echo -e "local({\n r <- getOption(\"repos\")\n r[\"Nexus\"] <- \"""${NEXUS_PROXY_URL}\"/repository/r-proxy/\"\n options(repos = r)\n})" | sudo tee /etc/R/Rprofile.site
## Add ouh_researcher group for directory permissions
echo "init_vm.sh: directory permissions"
sudo chgrp -R ouh_researcher /opt/anaconda
sudo chmod -R g+w /opt/anaconda
# ## Cleanup
echo "init_vm.sh: Cleanup"
sudo apt -y autoremove