From ec96f0480433a79cbea2cc554e670a1318fae089 Mon Sep 17 00:00:00 2001 From: Daniela Bauer Date: Fri, 31 Jul 2026 13:30:00 +0100 Subject: [PATCH] feat: add 5 min cooldown before cloud node shutoff --- src/DIRAC/Resources/Computing/cloudinit.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DIRAC/Resources/Computing/cloudinit.template b/src/DIRAC/Resources/Computing/cloudinit.template index 68041b3429d..887d9db78d4 100644 --- a/src/DIRAC/Resources/Computing/cloudinit.template +++ b/src/DIRAC/Resources/Computing/cloudinit.template @@ -88,4 +88,6 @@ runcmd: - [ cp, /root/run_pilot.sh, /mnt/run_pilot.sh ] - [ cp, /root/startup.sh, /mnt/startup.sh ] - [ sudo, -u, dirac, /mnt/startup.sh ] + - [ wall, "Done: node will shutdown in 5 minutes" ] + - [ sleep, 5m ] - [ poweroff ]