Show management bond option consistently

This commit is contained in:
Mike Reeves
2026-05-05 15:22:40 -04:00
parent f17da4e68b
commit 3b714db0bf
3 changed files with 22 additions and 4 deletions
+1 -3
View File
@@ -846,9 +846,7 @@ whiptail_management_nic() {
filter_unused_nics
local management_nic_options=( "${nic_list_management[@]}" )
if [[ $is_iso || $is_desktop_iso ]]; then
management_nic_options+=( "BOND" "Configure a bonded management interface" )
fi
management_nic_options+=( "BOND" "Configure a bonded management interface" )
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=$?