Limit management bond setup to ISO installs

This commit is contained in:
Mike Reeves
2026-05-05 15:30:09 -04:00
parent 3b714db0bf
commit ecb92d43fc
3 changed files with 5 additions and 23 deletions
+3 -1
View File
@@ -846,7 +846,9 @@ whiptail_management_nic() {
filter_unused_nics
local management_nic_options=( "${nic_list_management[@]}" )
management_nic_options+=( "BOND" "Configure a bonded management interface" )
if [[ $is_iso || $is_desktop_iso ]]; then
management_nic_options+=( "BOND" "Configure a bonded management interface" )
fi
MNIC=$(whiptail --title "$whiptail_title" --menu "Please select the NIC you would like to use for management.\n\nUse the arrow keys to move around and the Enter key to select." 20 75 12 "${management_nic_options[@]}" 3>&1 1>&2 2>&3 )
local exitstatus=$?