aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config/cloud/general.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/cloud/general.h b/src/config/cloud/general.h
index 38799fd8e..fc881163a 100644
--- a/src/config/cloud/general.h
+++ b/src/config/cloud/general.h
@@ -6,3 +6,8 @@
* Google Compute Engine metadata server.
*/
#define HTTP_HACK_GCE
+
+/* Allow scripts to handle errors by powering down the VM to avoid
+ * incurring unnecessary costs.
+ */
+#define POWEROFF_CMD