Update build.func

add Proxmox VE 7 warning regarding Debian 12 LXCs
This commit is contained in:
tteckster 2023-06-28 09:09:49 -04:00 committed by GitHub
parent 2f798b24f2
commit 7525666f6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -437,6 +437,10 @@ install_script() {
}
start() {
if [ $(pveversion | grep "pve-manager/8" | wc -l) -ne 1 ]; then
whiptail --msgbox --title "Proxmox VE 7 Detected" "You are currently using Proxmox VE 7, refrain from creating Debian 12 LXCs due to differences in locale parameters." 10 58
fi
if command -v pveversion >/dev/null 2>&1; then
if ! (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
clear