Commit 9ebea566 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

corrected slapformat call in slapos-start

parent 502d35e3
...@@ -40,14 +40,14 @@ done ...@@ -40,14 +40,14 @@ done
# Run slapformat # Run slapformat
i=1 i=1
echo -n "Running slapformat..." echo -n "Running slapformat..."
/opt/slapos/bin/slapformat --now --console --verbose --logfile=/opt/slapos/slapformat.log $SLAPOS_CONFIGURATION/slapos.cfg /opt/slapos/bin/slapformat --now --console --verbose --log_file=/opt/slapos/slapformat.log $SLAPOS_CONFIGURATION/slapos.cfg
while [[ $? != 0 ]]; do while [[ $? != 0 ]]; do
sleep $(($i*60)) sleep $(($i*60))
if [[ $i < 20 ]]; then if [[ $i < 20 ]]; then
let i++ let i++
fi fi
echo "Retrying slapformat" echo "Retrying slapformat"
/opt/slapos/bin/slapformat --now --console --verbose --verbose --logfile=/opt/slapos/slapformat.log $SLAPOS_CONFIGURATION/slapos.cfg /opt/slapos/bin/slapformat --now --console --verbose --verbose --log_file=/opt/slapos/slapformat.log $SLAPOS_CONFIGURATION/slapos.cfg
done done
# Run bang # Run bang
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment