fix: run server specific setup after def setup
This commit is contained in:
parent
36bb23433e
commit
874fa83fe3
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue