Adds update capabilities
This commit is contained in:
parent
cca3f8acbf
commit
88ae40128d
1 changed files with 7 additions and 0 deletions
7
scripts/update.sh
Normal file
7
scripts/update.sh
Normal 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
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue