User Tools

Site Tools


computing:remote-upgrades

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
computing:remote-upgrades [2019/06/16 03:43] oemb1905computing: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 updating";+  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://codetalkers.services/oemb1905/haackingclub/|Haacking Club]]   * [[https://codetalkers.services/oemb1905/haackingclub/|Haacking Club]]
      
- --- //[[netcmnd@jonathanhaack.com|oemb1905]] 2019/06/15 21:41//+ --- //[[jonathan@haacksnetworking.com|oemb1905]] 2020/01/20 21:59//
computing/remote-upgrades.txt · Last modified: 2020/01/27 20:42 by oemb1905