fix: run server specific setup after def setup

This commit is contained in:
Strix 2023-10-26 16:45:20 +02:00
parent 36bb23433e
commit 874fa83fe3
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -23,6 +23,13 @@ rm /tmp/$$-ssh-output
set -e
for s in tools/server-setup.d/*; do
echo "running $s..."
$s | while read line; do
echo "$s: $line"
done
done
if [ -d "servers/$HOSTNAME/setup.d" ]; then
echo "running server specific setup scripts..."
cd servers/$HOSTNAME
@ -34,10 +41,3 @@ if [ -d "servers/$HOSTNAME/setup.d" ]; then
done
cd -
fi
for s in tools/server-setup.d/*; do
echo "running $s..."
$s | while read line; do
echo "$s: $line"
done
done