mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-14 17:05:34 -04:00
test
This commit is contained in:
parent
64ed44d4d5
commit
9d3111f1fa
562 changed files with 4944 additions and 1211 deletions
|
@ -1,4 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
## SPDX-FileCopyrightText: 2023 Qusal contributors
|
||||
##
|
||||
## SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
set -eu
|
||||
|
||||
test "$(hostname)" = "dom0" || { echo "Must be run from dom0" >&2; exit 1; }
|
||||
|
@ -6,6 +11,7 @@ test "$(id -u)" = "0" || exec sudo "${0}"
|
|||
|
||||
group="qusal"
|
||||
file_roots="/srv/salt/${group}"
|
||||
|
||||
## Avoid having extra unwanted files.
|
||||
rm -rf "${file_roots}"
|
||||
cp -f minion.d/"${group}".conf /etc/salt/minion.d/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue