diff --git a/setup/so-setup b/setup/so-setup index b423160c8..a2ffdf339 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -331,7 +331,7 @@ if [[ ( $is_manager || $is_import) && $is_iso ]]; then if [[ "$INTERWEBS" == 'AIRGAP' ]]; then is_airgap=true fi -elif [[ $is_minion ]]; then +elif [[ $is_minion && $is_iso ]]; then $sshcmd -i /root/.ssh/so.key soremote@"$MSRV" [[ -f /etc/yum.repos.d/airgap_repo.repo ]] >> $setup_log 2>&1 airgap_check=$? [[ $airgap_check ]] && is_airgap=true >> $setup_log 2>&1