This commit is contained in:
William Wernert
2021-10-27 14:59:24 -04:00
parent eee612e73d
commit 75490a2536

View File

@@ -326,7 +326,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
el [[ $is_minion ]] elif [[ $is_minion ]]; then
airgap_mngr_str=$($sshcmd -i /root/.ssh/so.key soremote@"$MSRV" cat /opt/so/saltstack/local/pillar/global.sls | grep airgap: | awk '{print $2}') >> $setup_log 2>&1 airgap_mngr_str=$($sshcmd -i /root/.ssh/so.key soremote@"$MSRV" cat /opt/so/saltstack/local/pillar/global.sls | grep airgap: | awk '{print $2}') >> $setup_log 2>&1
[[ $airgap_mngr_str == "True" ]] && is_airgap=true >> $setup_log 2>&1 [[ $airgap_mngr_str == "True" ]] && is_airgap=true >> $setup_log 2>&1
fi fi