summaryrefslogtreecommitdiffhomepage
path: root/tools/images/zone.sh
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-04-13 12:47:32 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-13 12:48:38 -0700
commitaa75a3da5188d8f62d00fc6590708ca4886526b4 (patch)
treeb331500f4b84701a512b445576b2f7ef1e00cad8 /tools/images/zone.sh
parent6a4d17a31dc209afbbca66e871a7c6dc299c167b (diff)
Fix build.sh and VM targets.
PiperOrigin-RevId: 306289643
Diffstat (limited to 'tools/images/zone.sh')
-rwxr-xr-xtools/images/zone.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/images/zone.sh b/tools/images/zone.sh
new file mode 100755
index 000000000..79569fb19
--- /dev/null
+++ b/tools/images/zone.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# Copyright 2020 The gVisor Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+exec gcloud config get-value compute/zone