Add bin script for upgrading linux

This commit is contained in:
Colin Powell
2020-02-20 13:20:58 -05:00
parent 4e8e2a85d8
commit eef9e8fefb
2 changed files with 9 additions and 11 deletions

View File

@ -1,11 +0,0 @@
function upgrade
# Upgrade all ubuntu hosts in one go
echo "-------- Upgrading Box --------"
ssh -t root@box.onec.me "apt upgrade -y"
echo "-------- Upgrading REHA --------"
ssh -t powellc@rhea.unbl.ink "sudo apt upgrade -y"
echo "-------- Upgrading DIONE --------"
ssh -J rhea.unbl.ink dione.local "sudo apt upgrade -y"
echo "-------- Upgrading TITAN --------"
ssh -J rhea.unbl.ink -t titan.local "sudo apt upgrade -y"
end