• Jack Pearkes's avatar
    builder/digitalocean: send a "shutdown" before snapshotting · 315d4ce5
    Jack Pearkes authored
    Instead of pulling the plug on a droplet with the "poweroff" command,
    we first send a soft shutdown to the API, then we poweroff to allow
    the snapshot to properly complete.
    
    Sending just a shutdown and then snapshotting wasn't as reliable as
    sending the poweroff manually, for reasons unknown to me.
    
    This fixes #332.
    315d4ce5
api.go 5.76 KB