Set default zone for multiline step.

Co-authored-by: jmhbnz <mail@jamesblair.net>
This commit is contained in:
Daljit Singh
2021-02-24 17:44:31 +13:00
parent f59b532d47
commit a290b93b27
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,9 @@
# By default the virtual machine operating system for the vm we created on GCP is [[https://debian.org][Debian]]. There are instructions for installing Docker on a debian machine [[https://docs.docker.com/engine/install/debian/#install-using-the-repository][here]].
# Set default zone
gcloud config set compute/zone australia-southeast1-a
# Retrieve the vm name
export gcp_machine_name=$(gcloud compute instances list --limit=1 --format='value(name.basename())')