Fix upgrade function #fishshell
This commit is contained in:
@ -1,8 +1,13 @@
|
|||||||
function upgrade
|
function upgrade
|
||||||
# Upgrade all ubuntu hosts in one go
|
# Upgrade all ubuntu hosts in one go
|
||||||
|
echo "-------- Upgrading Box --------"
|
||||||
ssh -t root@box.onec.me "apt upgrade -y"
|
ssh -t root@box.onec.me "apt upgrade -y"
|
||||||
|
echo "-------- Upgrading REHA --------"
|
||||||
ssh -t powellc@rhea.unbl.ink "sudo apt upgrade -y"
|
ssh -t powellc@rhea.unbl.ink "sudo apt upgrade -y"
|
||||||
ssh -t powellc@rhea.unbl.ink -t dione.local "sudo apt upgrade -y"
|
echo "-------- Upgrading DIONE --------"
|
||||||
ssh -t powellc@rhea.unbl.ink -t titan.local "sudo apt upgrade -y"
|
ssh -J rhea.unbl.ink dione.local "sudo apt upgrade -y"
|
||||||
ssh -t powellc@rhea.unbl.ink -t iapetus.local "sudo apt upgrade -y"
|
echo "-------- Upgrading TITAN --------"
|
||||||
|
ssh -J rhea.unbl.ink titan.local "sudo apt upgrade -y"
|
||||||
|
echo "-------- Upgrading IAPETUS --------"
|
||||||
|
ssh -J rhea.unbl.ink iapetus.local "sudo apt upgrade -y"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user