feat(tdx_google): add onFailure action to reboot on metadata.service errors

- Introduce `onFailure` handler to trigger reboot after 5 minutes.
- Enhances system reliability by automating recovery measures.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2025-02-20 15:18:34 +01:00
parent a430e2f93b
commit cf4a6cfb60
Signed by: harald
GPG key ID: F519A1143B3FBE32

View file

@ -49,5 +49,8 @@
KAFKA_URLS="''${KAFKA_URLS}"
EOF
'';
postStop = lib.mkDefault ''
shutdown --reboot +5
'';
};
}