domainname="";while[ -z "$domainname"];dodomainname=`dialog --no-cancel --inputbox "Domain name root (for fully qualified domain, e.g. company.com):"840 2>&1 >/dev/tty`;done
fqdn="${hostname}.${domainname}"
nicdevices="";for nic in $(ip -o link show | awk -F': ''{print $2}'| grep -v '^lo');donicdevices="$nicdevices$nic off";done
nicdevices="";for nic in $(ip -o link show | awk -F': ''{print $2}'| grep -v '^lo');donicdevices="$nicdevices$nic off";done
nics=`dialog --separate-output --no-cancel --no-items --title "Bridged network devices" --checklist "Select the network devices to be bridged to br0:"$height$width${window}$nicdevices 2>&1 1>/dev/tty`
nics=`dialog --separate-output --no-cancel --no-items --title "Bridged network devices" --checklist "Select the network devices to be bridged to br0:"$height$width${window}$nicdevices 2>&1 1>/dev/tty`