batchupdate/README.md

25 lines
608 B
Markdown
Raw Normal View History

2023-04-19 19:25:17 +02:00
# batchupdate
2023-04-19 20:32:32 +02:00
## Installation
Clone the repository
```bash
git clone https://git.moelle.space/hxcde/batchupdate.git
```
Edit `servers.conf`, add the servers IPs in the List<br>
Example:
```bash
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
bash setup-servers
```
## Update the Servers from the list
Run the update script, it should check if updates are available
```bash
bash runupdate
2023-04-19 20:33:45 +02:00
```
## Edit the list
2023-04-19 20:34:00 +02:00
After adding new servers to `servers.conf`, don't forget to run `setup-servers`.