Script that automaticly updates all your linux servers at once.
Go to file
2023-04-19 20:33:45 +02:00
README.md „README.md“ ändern 2023-04-19 20:33:45 +02:00
runupdate „runupdate“ ändern 2023-04-19 19:58:46 +02:00
servers.conf „servers.conf“ hinzufügen 2023-04-19 19:59:07 +02:00
setup-servers „setup-servers“ ändern 2023-04-19 20:25:44 +02:00

batchupdate

Installation

Clone the repository

git clone https://git.moelle.space/hxcde/batchupdate.git

Edit servers.conf, add the servers IPs in the List
Example:

10.0.0.1
10.0.0.2
10.0.0.3

Run the setup-servers script. You will be asked to enter the root Password. The script will add its key to authorized_keys

bash setup-servers

Update the Servers from the list

Run the update script, it should check if updates are available

bash runupdate

Edit the list

After adding new servers to servers.conf, don't forget to run setup servers.