mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "6ba8c5e06cf8a94305d4982581c26682a5cf7815" and "6f0788f220436e67ec334874d267f09d5d8ddc8d" have entirely different histories.
6ba8c5e06c
...
6f0788f220
|
@ -17,7 +17,7 @@ cat <<"EOF"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
header_info
|
header_info
|
||||||
set -e
|
set-e
|
||||||
while true; do
|
while true; do
|
||||||
read -p "This will add Tailscale to an existing LXC Container ONLY. Proceed(y/n)?" yn
|
read -p "This will add Tailscale to an existing LXC Container ONLY. Proceed(y/n)?" yn
|
||||||
case $yn in
|
case $yn in
|
||||||
|
|
|
@ -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, refrain from creating Debian 12 LXCs due to differences in locale parameters. \n Default distribution for $APP LXC is ${var_os} ${var_version}" 10 58
|
||||||
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