From 9ce75cd2645d662bb25f72b24b361136ba113eb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20M=C3=B6lle?= Date: Wed, 19 Apr 2023 20:32:32 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 7b267ed..007af8c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,23 @@ # batchupdate +## Installation +Clone the repository +```bash +git clone https://git.moelle.space/hxcde/batchupdate.git +``` +Edit `servers.conf`, add the servers IPs in the List
+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 +``` \ No newline at end of file