I have a strange problem whereby instances in an instance-group reboot themselves when I give them a sudo poweroff
command (I'm doing this in a startup-script is that makes any difference...)
I've also tried the more elaborate gcloud compute instances delete -q --zone europe-west1-c $HOSTNAME
to no avail.
What is the correct way to do this?