Proxy whiptail fixes

* Don't try to set up proxy/manager proxy during network only flow
* Fix logic to never show new menu on airgap, set MANAGERUPDATES to 1 on airgap minions
This commit is contained in:
William Wernert
2021-04-19 16:26:53 -04:00
parent 6156e754c4
commit b449955711
3 changed files with 1 additions and 8 deletions

View File

@@ -990,8 +990,6 @@ whiptail_management_nic() {
whiptail_net_method() {
[ -n "$TESTING" ] && return
[[ $is_airgap && ! $is_minion ]] && return
local pkg_mngr
if [[ $OS = 'centos' ]]; then pkg_mngr="yum"; else pkg_mngr='apt'; fi