зеркало из https://github.com/microsoft/AzureTRE.git
update
This commit is contained in:
Родитель
977b487e64
Коммит
757d565276
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
schemaVersion: 1.0.0
|
schemaVersion: 1.0.0
|
||||||
name: tre-service-guacamole-linuxvm
|
name: tre-service-guacamole-linuxvm
|
||||||
version: 0.6.39
|
version: 0.6.40
|
||||||
description: "An Azure TRE User Resource Template for Guacamole (Linux)"
|
description: "An Azure TRE User Resource Template for Guacamole (Linux)"
|
||||||
dockerfile: Dockerfile.tmpl
|
dockerfile: Dockerfile.tmpl
|
||||||
registry: azuretre
|
registry: azuretre
|
||||||
|
|
|
@ -26,6 +26,8 @@ echo "init_vm.sh: xrdp"
|
||||||
sudo apt install -y xrdp xorgxrdp xfce4-session
|
sudo apt install -y xrdp xorgxrdp xfce4-session
|
||||||
sudo adduser xrdp ssl-cert
|
sudo adduser xrdp ssl-cert
|
||||||
sudo -u "${VM_USER}" -i bash -c 'echo xfce4-session > ~/.xsession'
|
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
|
sleep 10
|
||||||
|
|
||||||
|
@ -146,11 +148,6 @@ sudo systemctl restart docker
|
||||||
# R config
|
# 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
|
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
|
# ## Cleanup
|
||||||
echo "init_vm.sh: Cleanup"
|
echo "init_vm.sh: Cleanup"
|
||||||
sudo apt -y autoremove
|
sudo apt -y autoremove
|
||||||
|
|
Загрузка…
Ссылка в новой задаче