From 89a45248cb601751d00d0a0f09f3333f45c7de01 Mon Sep 17 00:00:00 2001 From: "Z. Cliffe Schreuders" Date: Mon, 8 Jul 2019 09:51:04 +0100 Subject: [PATCH] labtainers --- .../unix/labtainers/templates/auto_start_lab.desktop.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/utilities/unix/labtainers/templates/auto_start_lab.desktop.erb b/modules/utilities/unix/labtainers/templates/auto_start_lab.desktop.erb index 2d59601cc..354e4ebc4 100644 --- a/modules/utilities/unix/labtainers/templates/auto_start_lab.desktop.erb +++ b/modules/utilities/unix/labtainers/templates/auto_start_lab.desktop.erb @@ -2,7 +2,7 @@ Name=Lab GenericName=Labtainer lab autostart Comment=Autostart script -Exec=/opt/labtainers/labtainer-student/labtainer <%= @lab %> +Exec=bash -c 'cd /opt/labtainers/scripts/labtainer-student/; echo "Running lab <%= @lab %>"; echo -e '/n'|labtainer <%= @lab %>; bash' Terminal=true Type=Application X-GNOME-Autostart-enabled=true