From 01ea56b5eccb5484d279f52e463746d8d63ad273 Mon Sep 17 00:00:00 2001 From: Ray Foss Date: Fri, 26 Jan 2024 13:07:03 -0600 Subject: [PATCH] Update cloud-shell-tutorial.md outdated instructions --- guides/gcp-gce/cloud-shell-tutorial.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/guides/gcp-gce/cloud-shell-tutorial.md b/guides/gcp-gce/cloud-shell-tutorial.md index e48f538bb814f..8b4b97141ddac 100644 --- a/guides/gcp-gce/cloud-shell-tutorial.md +++ b/guides/gcp-gce/cloud-shell-tutorial.md @@ -66,11 +66,13 @@ While you are still connected to the VM, execute the following command to start ```bash cd openvscode-server-v$SERVER_VERSION-linux-x64 -./server.sh +./bin/openvscode-server --host 0.0.0.0 ``` **Note**: If you cancel the script, the OpenVSCode Server will stop. +Copy the token part of the link as we'll need it in the next step. + Next up, you are going to access the shiny new OpenVSCode Server in your browser. ## Access OpenVSCode Server in your browser @@ -82,7 +84,7 @@ With the server still running, open a new Cloud Shell tab and execute the follow ```bash export SERVER_IP=$(gcloud compute instances describe openvscode-server \ --format='get(networkInterfaces[0].accessConfigs[0].natIP)') -echo "http://$SERVER_IP:3000" +echo "http://$SERVER_IP:3000/?tkn=YOUR-TOKEN-HERE" ``` -Click the URL displayed in the terminal to see OpenVSCode Server up and running. +Use the URL displayed in the terminal with your token to see OpenVSCode Server up and running.