From: Michael Brown Date: Sat, 10 Apr 2021 19:03:32 +0000 (+0100) Subject: [cloud] Enable "poweroff" command in cloud images X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ae83222ce611afacd98419c0073aa98fb97f9e7;p=thirdparty%2Fipxe.git [cloud] Enable "poweroff" command in cloud images Signed-off-by: Michael Brown --- 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