Преглед изворни кода

Update build.func

add Proxmox VE 7 warning regarding Debian 12 LXCs
tteckster пре 2 година
родитељ
комит
7525666f6b
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      misc/build.func

+ 4 - 0
misc/build.func

@@ -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