Parameterize the zone
Make $zone an argument to the script since zones go up and done
Change-Id: I49ea80c53ed89cd55047e3fc1b8663e4716d94f5
diff --git a/create.sh b/create.sh
index 63957b7..d6079ec 100755
--- a/create.sh
+++ b/create.sh
@@ -15,8 +15,15 @@
#
# Run this script to create the pluginbuilder instance
+if [ $# != 1 ]
+then
+ echo "Usage: $0 ZONE" 1>&2
+ echo "ZONE suggestion: us-central2-b" 1>&2
+ exit 1
+fi
+
project=google.com:gerritcodereview-build
-zone=us-central2-b
+zone=$1
name=pluginbuilder
gcutil --project $project deleteinstance \