mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
feat: allow to run setup outside of its directory
This commit is contained in:
parent
0dd627b670
commit
9b740d8314
@ -12,6 +12,7 @@ test "$(id -u)" = "0" || exec sudo "${0}"
|
||||
group="qusal"
|
||||
file_roots="/srv/salt/${group}"
|
||||
|
||||
cd "${0%/*}"/..
|
||||
## Avoid having extra unwanted files.
|
||||
rm -rf "${file_roots}"
|
||||
cp -f minion.d/*.conf /etc/salt/minion.d/
|
||||
|
Loading…
Reference in New Issue
Block a user