fix: setup server exec
This commit is contained in:
parent
89e7f8ead2
commit
7ad7d838a3
1 changed files with 6 additions and 2 deletions
|
@ -28,12 +28,16 @@ if [ -d "servers/$HOSTNAME/setup.d" ]; then
|
|||
cd servers/$HOSTNAME
|
||||
for s in setup.d/*; do
|
||||
echo "running (servers/$HOSTNAME/)$s..."
|
||||
sh $s
|
||||
$s | while read line; do
|
||||
echo "$s: $line"
|
||||
done
|
||||
done
|
||||
cd -
|
||||
fi
|
||||
|
||||
for s in tools/server-setup.d/*; do
|
||||
echo "running $s..."
|
||||
sh $s
|
||||
$s | while read line; do
|
||||
echo "$s: $line"
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue