Adds update capabilities

This commit is contained in:
Pierre Lannoy 2024-02-02 19:07:49 +01:00
commit 88ae40128d
Signed by: Pierre Lannoy
GPG key ID: D27231EF87D53F31

7
scripts/update.sh Normal file
View file

@ -0,0 +1,7 @@
#!/bin/bash
cd /etc/Hosterra/tools/netbox-agent
git reset --hard HEAD
git clean -f -d
git pull
chmod +x ./scripts/*.sh