#!/usr/bin/env sh
# Upgrade all ubuntu hosts in one go
echo "-------- Upgrading box.unbl.ink --------"
ssh -t root@box.unbl.ink "apt upgrade -y && apt autoremove -y"
echo "-------- Upgrading box.castine.town --------"
ssh -t root@box.castine.town "apt upgrade -y && apt autoremove -y"
echo "-------- Upgrading iapetus.local --------"
ssh -J rhea.unbl.ink -t iapetus.local "sudo apt upgrade -y && sudo apt autoremove -y"
echo "-------- Upgrading phoebe.local --------"
ssh -J rhea.unbl.ink -t phoebe.local "sudo apt upgrade -y && sudo apt autoremove -y"
echo "-------- Upgrading dione.local --------"
ssh -J rhea.unbl.ink -t dione.local "sudo apt upgrade -y && sudo apt autoremove -y"
# TODO Add titan & rhea freebsd upgrades
