Add bulk upgrade script #fishshell
This commit is contained in:
7
fish/.config/fish/functions/upgrade.fish
Normal file
7
fish/.config/fish/functions/upgrade.fish
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
function upgrade
|
||||||
|
# Upgrade all ubuntu hosts in one go
|
||||||
|
ssh -t root@box.onec.me "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"
|
||||||
|
sudo apt upgrade -y
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user