Check for Ubuntu

This commit is contained in:
Mike Reeves
2023-01-24 10:07:32 -05:00
parent f077b5c96d
commit 2da30f42d4
3 changed files with 43 additions and 0 deletions

View File

@@ -1327,6 +1327,28 @@ whiptail_storage_requirements() {
whiptail_check_exitstatus $exitstatus
}
whiptail_ubuntu_notsupported() {
[ -n "$TESTING" ] && return
read -r -d '' message <<- EOM
Ubuntu is not supported for this node type.
Please use a supported OS or install via ISO.
EOM
whiptail --title "$whiptail_title" --msgbox "$message" 14 75
}
whiptail_ubuntu_warning() {
[ -n "$TESTING" ] && return
read -r -d '' message <<- EOM
Ubuntu support for this node type is limited.
Please consider using a fully supported OS or install via ISO.
EOM
whiptail --title "$whiptail_title" --msgbox "$message" 14 75
}
whiptail_uppercase_warning() {
[ -n "$TESTING" ] && return