1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

enter --debug anytime

This commit is contained in:
Jerry Vonau 2017-11-01 23:45:38 -05:00
parent 4015a7c8f1
commit 6fae49c465

View file

@ -26,12 +26,12 @@ else
# check ansible version here and force ansible upgrade if needed
else
source /etc/iiab/iiab.env
if [ $STAGE == 9 ] && [ "$1" = "--debug" ]; then
if [ "$1" = "--debug" ]; then
echo "Entering debug mode"
sed -i -e 's/^STAGE=.*/STAGE=2/' /etc/iiab/iiab.env
elif [ ! $STAGE == 9 ]; then
echo "Restarting *after* STAGE $STAGE..as soon as Stage 0 completes. Stage 9 comes last."
else
elif [ $STAGE == 9 ]; then
# place keeper add read response
# "offer 'Y' or stage number dialog box option to override"
echo "'iiab-install' has already been completed"