From 282b4090ce3768c8ffdff5b5e2bf0babc5ec3e6d Mon Sep 17 00:00:00 2001 From: William Wernert Date: Wed, 9 Dec 2020 11:51:07 -0500 Subject: [PATCH] [fix] Actually call nic comparison function, redirect tarball gen to setup_log --- setup/so-setup | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/setup/so-setup b/setup/so-setup index fe11d5361..5b751d124 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -480,10 +480,9 @@ if [[ $is_minion ]]; then fi # This block sets REDIRECTIT which is used by a function outside the below subshell -{ - set_main_ip; - set_redirect; -} >> $setup_log 2>&1 + set_main_ip >> $setup_log 2>&1 + compare_main_nic_ip + set_redirect >> $setup_log 2>&1 # Begin install { @@ -824,7 +823,7 @@ else if [[ $is_manager ]]; then set_progress_str 98 "Generating archive for setup directory" - generate_repo_tarball + generate_repo_tarball >> "$setup_log" 2>&1 fi if [[ $THEHIVE == 1 ]]; then @@ -837,6 +836,6 @@ else echo "Post-installation steps have completed." >> $setup_log 2>&1 fi -install_cleanup >> $setup_log 2>&1 +install_cleanup >> "$setup_log" 2>&1 if [[ -z $SKIP_REBOOT ]]; then shutdown -r now; else exit; fi