mirror of https://github.com/tteck/Proxmox.git
Compare commits
2 Commits
b7a9d517e7
...
c979faa719
Author | SHA1 | Date |
---|---|---|
|
c979faa719 | |
|
5b02f66391 |
|
@ -1,5 +1,5 @@
|
||||||
name: Problems with a script.
|
name: Problems with a script.
|
||||||
description: Generate a report on an issue pertaining specifically to the script. For other inquires please share them in the Discussions section. Blank issues will be closed immediately.
|
description: Generate a report on an issue pertaining specifically to a script. For other inquires please share them in the Discussions section. Blank issues will be closed immediately.
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
|
|
|
@ -66,7 +66,7 @@ check_root() {
|
||||||
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
pve_check() {
|
pve_check() {
|
||||||
if [ $(pveversion | grep "pve-manager/8" | wc -l) -ne 1 ]; then
|
if [ $(pveversion | grep "pve-manager/8" | wc -l) -ne 1 ]; then
|
||||||
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Proxmox VE 7 Detected" "You are currently using Proxmox VE 7 (Debian 11), refrain from creating Debian 12 LXCs. \nDefault distribution for $APP LXC is ${var_os} ${var_version}" 10 60
|
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Proxmox VE 7 Detected" "You are currently using Proxmox VE 7 (EOL 2024-07), refrain from creating Debian 12 LXCs. \nDefault distribution for $APP LXC is ${var_os} ${var_version}" 10 60
|
||||||
fi
|
fi
|
||||||
if ! pveversion | grep -Eq "pve-manager/(7\.[0-9]|8\.[0-9])"; then
|
if ! pveversion | grep -Eq "pve-manager/(7\.[0-9]|8\.[0-9])"; then
|
||||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||||
|
|
Loading…
Reference in New Issue