This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
computing:remote-upgrades [2019/06/16 03:43] – oemb1905 | computing:remote-upgrades [2020/01/21 05:01] – oemb1905 | ||
---|---|---|---|
Line 19: | Line 19: | ||
| | ||
Once that is done, put in some parameters that will provide nice feedback to you while you execute the command from primary workstation: | Once that is done, put in some parameters that will provide nice feedback to you while you execute the command from primary workstation: | ||
- | | + | |
#!/bin/bash | #!/bin/bash | ||
+ | echo "I am beginning"; | ||
+ | cat /etc/motd | ||
apt update | apt update | ||
apt dist-upgrade | apt dist-upgrade | ||
apt autoremove | apt autoremove | ||
apt autoclean | apt autoclean | ||
- | echo "I just finished | + | echo "I just finished"; |
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
hostname | hostname | ||
date | date | ||
uname -a | uname -a | ||
echo "If there is another, I will begin that now ..."; | echo "If there is another, I will begin that now ..."; | ||
+ | sleep 10s | ||
Edit sudoers so that this command can be run on target without password, (or, if your prefer, do not do this, and then you can enter the password for each target as the primary workstations script executes): | Edit sudoers so that this command can be run on target without password, (or, if your prefer, do not do this, and then you can enter the password for each target as the primary workstations script executes): | ||
Line 76: | Line 84: | ||
* [[https:// | * [[https:// | ||
| | ||
- | --- //[[netcmnd@jonathanhaack.com|oemb1905]] | + | --- //[[jonathan@haacksnetworking.com|oemb1905]] |