Change sysupgrade script file
This commit is contained in:
13
bin/.bin/sysupgrade
Executable file
13
bin/.bin/sysupgrade
Executable file
@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
@ -1,9 +0,0 @@
|
||||
#!/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 janus.unbl.ink -t iapetus.local "sudo apt upgrade -y && apt autoremove -y"
|
||||
# TODO Add titan & janus freebsd upgrades
|
||||
Reference in New Issue
Block a user