Auto shutdown VM if no active SSH connections

1 · Abin Simon · April 5, 2020, midnight
Here is a simple workflow that I have extracted out into a blog. I generally have a VM on standby to offload some tasks over to that VM instead of running things on my laptop. One main example of this is when I am trying to do some experiment and check if a container still builds after I do some changes. I usually make the changes and offload the build piece over to the VM. A good thing about VM is that it is more powerful that my computer, has more storage for more caching, and also a much fast...