From 618354bcc2dbe80389d2d15330b02d7756e331d6 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 19 Jul 2019 12:21:13 -0400 Subject: [PATCH] Fix upgrade function #fishshell --- fish/.config/fish/functions/upgrade.fish | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/fish/.config/fish/functions/upgrade.fish b/fish/.config/fish/functions/upgrade.fish index 8d2fd14..5f7aa69 100644 --- a/fish/.config/fish/functions/upgrade.fish +++ b/fish/.config/fish/functions/upgrade.fish @@ -1,8 +1,13 @@ 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" - ssh -t powellc@rhea.unbl.ink -t dione.local "sudo apt upgrade -y" - ssh -t powellc@rhea.unbl.ink -t titan.local "sudo apt upgrade -y" - ssh -t powellc@rhea.unbl.ink -t iapetus.local "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 titan.local "sudo apt upgrade -y" + echo "-------- Upgrading IAPETUS --------" + ssh -J rhea.unbl.ink iapetus.local "sudo apt upgrade -y" end