Add more logging to setup process

This commit is contained in:
Mike Reeves
2022-09-12 14:20:59 -04:00
parent 2254512a2a
commit 9ca2e6e871
3 changed files with 117 additions and 318 deletions

View File

@@ -199,16 +199,6 @@ if [[ -f automation/$automation && $(basename $automation) == $automation ]]; th
logCmd 'ip a | grep "$MNIC:" | grep "state UP"'
done
info "Network is up on $MNIC"
if [[ ! $is_iso ]]; then
# We might not need this any more
info "Installing sshpass for automated testing."
if [ "$OS" == ubuntu ]; then
retry 50 10 "apt-get -y install sshpass" >> $setup_log 2>&1 || exit 1
else
logCmd "yum -y install sshpass"
fi
fi
fi
# Make sure the setup type is suppoted.