mirror of https://github.com/tteck/Proxmox.git
Update build.func
add Proxmox VE 7 warning regarding Debian 12 LXCs
This commit is contained in:
parent
2f798b24f2
commit
7525666f6b
|
@ -437,6 +437,10 @@ install_script() {
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
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 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
|
if ! (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
|
||||||
clear
|
clear
|
||||||
|
|
Loading…
Reference in New Issue