[fix] Move redirect var to function after $MAINIP has been set

This commit is contained in:
William Wernert
2020-07-14 10:12:51 -04:00
parent 178ac79da8
commit 4ab90a9a30
2 changed files with 18 additions and 12 deletions

View File

@@ -369,7 +369,10 @@ if [[ $is_manager && ! $is_eval ]]; then
add_soremote_user_manager >> $setup_log 2>&1
fi
set_main_ip >> $setup_log 2>&1
{
set_main_ip;
set_redirect;
} >> $setup_log 2>&1
host_pillar >> $setup_log 2>&1