From b7a4a3598d46d4d145749a050701c31ef0078640 Mon Sep 17 00:00:00 2001 From: Timothy Middelkoop Date: Wed, 10 Nov 2021 08:08:39 -0600 Subject: [PATCH] Add pty for clean jupyter shutdown and rename --- scripts/{gcp-dev.sh => gcp-start.sh} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename scripts/{gcp-dev.sh => gcp-start.sh} (87%) diff --git a/scripts/gcp-dev.sh b/scripts/gcp-start.sh similarity index 87% rename from scripts/gcp-dev.sh rename to scripts/gcp-start.sh index f64a96c..2a30cfd 100755 --- a/scripts/gcp-dev.sh +++ b/scripts/gcp-start.sh @@ -38,4 +38,4 @@ echo "+++ configure local ssh" gcloud compute config-ssh echo "+++ starting Jypter" -gcloud compute ssh --zone=$ZONE $VM --ssh-flag='-L 8080:localhost:8080 -L 8081:localhost:8081' --command="cd $PROJECT ; ./scripts/jupyter-lab.sh" +gcloud compute ssh --zone=$ZONE $VM --ssh-flag='-t -L 8080:localhost:8080 -L 8081:localhost:8081' --command="cd $PROJECT ; ./scripts/jupyter-lab.sh"