Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-allen-ck committed May 7, 2024
1 parent 8044fb7 commit 004a9c0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion templates/shared_services/sonatype-nexus-vm/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-shared-service-sonatype-nexus
version: 2.8.19
version: 3.0.0
description: "A Sonatype Nexus shared service"
dockerfile: Dockerfile.tmpl
registry: azuretre
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-service-guacamole-linuxvm
version: 0.6.51
version: 1.0.0
description: "An Azure TRE User Resource Template for Guacamole (Linux)"
dockerfile: Dockerfile.tmpl
registry: azuretre
Expand All @@ -23,15 +23,6 @@ custom:
apt_sku: 22.04
install_ui: true
conda_config: false
"Ubuntu 20.04 LTS":
source_image_reference:
publisher: canonical
offer: 0001-com-ubuntu-server-focal
sku: 20_04-lts-gen2
version: latest
apt_sku: 20.04
install_ui: false
conda_config: false
"Ubuntu 20.04 LTS Data Science VM":
source_image_reference:
publisher: microsoft-dsvm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,18 @@ sudo echo -e "local({\n r <- getOption(\"repos\")\n r[\"Nexus\"] <- \"""${
# Jupiter Notebook Config
sudo sed -i -e 's/Terminal=true/Terminal=false/g' /usr/share/applications/jupyter-notebook.desktop

#Default Browser
# Default Browser
sudo update-alternatives --config x-www-browser

## Cleanup
echo "init_vm.sh: Cleanup"
sudo shutdown -r now

# Prevent screen timeout
echo "init_vm.sh: Preventing Timeout"
sudo touch /home/${VM_USER}/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-screensaver.xml
sudo chmod 664 /home/${VM_USER}/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-screensaver.xml
sudo chown ${VM_USER}:${VM_USER} /home/${VM_USER}/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-screensaver.xml
sudo tee /home/${VM_USER}/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-screensaver.xml << END
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-screensaver" version="1.0">
Expand Down

0 comments on commit 004a9c0

Please sign in to comment.