Minions still need to be ISO installs to be airgap

This commit is contained in:
William Wernert
2021-10-28 11:59:42 -04:00
parent 6b480a5ba4
commit c2b18efdbb

View File

@@ -331,7 +331,7 @@ if [[ ( $is_manager || $is_import) && $is_iso ]]; then
if [[ "$INTERWEBS" == 'AIRGAP' ]]; then if [[ "$INTERWEBS" == 'AIRGAP' ]]; then
is_airgap=true is_airgap=true
fi 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 $sshcmd -i /root/.ssh/so.key soremote@"$MSRV" [[ -f /etc/yum.repos.d/airgap_repo.repo ]] >> $setup_log 2>&1
airgap_check=$? airgap_check=$?
[[ $airgap_check ]] && is_airgap=true >> $setup_log 2>&1 [[ $airgap_check ]] && is_airgap=true >> $setup_log 2>&1