mirror of https://github.com/tteck/Proxmox.git
Compare commits
12 Commits
65970a5c53
...
80200dc39d
Author | SHA1 | Date |
---|---|---|
|
80200dc39d | |
|
345346118b | |
|
236f90a1e0 | |
|
57507a583c | |
|
465996e7a2 | |
|
5bbfe8812e | |
|
2ce1c183f4 | |
|
9fb338f6ea | |
|
ba8b38caeb | |
|
a4ac3e7065 | |
|
e0f8e23fd7 | |
|
a1deedd066 |
|
@ -10,6 +10,13 @@
|
||||||
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
||||||
- 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
|
- 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
|
||||||
|
|
||||||
|
## 2024-02-06
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- **All Scripts**
|
||||||
|
- The scripts will only work with PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later.
|
||||||
|
|
||||||
## 2024-02-05
|
## 2024-02-05
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -122,7 +122,6 @@ function update_script() {
|
||||||
chown root /tmp/nginx
|
chown root /tmp/nginx
|
||||||
echo resolver "$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print ($2 ~ ":")? "["$2"]": $2}' /etc/resolv.conf);" >/etc/nginx/conf.d/include/resolvers.conf
|
echo resolver "$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print ($2 ~ ":")? "["$2"]": $2}' /etc/resolv.conf);" >/etc/nginx/conf.d/include/resolvers.conf
|
||||||
if [ ! -f /data/nginx/dummycert.pem ] || [ ! -f /data/nginx/dummykey.pem ]; then
|
if [ ! -f /data/nginx/dummycert.pem ] || [ ! -f /data/nginx/dummykey.pem ]; then
|
||||||
echo -e "${CHECKMARK} \e[1;92m Generating dummy SSL Certificate... \e[0m"
|
|
||||||
openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 -subj "/O=Nginx Proxy Manager/OU=Dummy Certificate/CN=localhost" -keyout /data/nginx/dummykey.pem -out /data/nginx/dummycert.pem &>/dev/null
|
openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 -subj "/O=Nginx Proxy Manager/OU=Dummy Certificate/CN=localhost" -keyout /data/nginx/dummykey.pem -out /data/nginx/dummycert.pem &>/dev/null
|
||||||
fi
|
fi
|
||||||
mkdir -p /app/global /app/frontend/images
|
mkdir -p /app/global /app/frontend/images
|
||||||
|
|
|
@ -26,8 +26,8 @@ echo "deb [arch=amd64] http://phoscon.de/apt/deconz $VERSION main" >/etc/apt/sou
|
||||||
msg_ok "Setup Phoscon Repository"
|
msg_ok "Setup Phoscon Repository"
|
||||||
|
|
||||||
msg_info "Installing deConz"
|
msg_info "Installing deConz"
|
||||||
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
|
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb
|
||||||
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
|
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get install -y deconz
|
$STD apt-get install -y deconz
|
||||||
msg_ok "Installed deConz"
|
msg_ok "Installed deConz"
|
||||||
|
@ -56,7 +56,7 @@ motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
|
rm -rf libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb
|
||||||
$STD apt-get autoremove
|
$STD apt-get autoremove
|
||||||
$STD apt-get autoclean
|
$STD apt-get autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|
|
@ -30,8 +30,8 @@ $STD apt-get -y install zulu8-jdk
|
||||||
msg_ok "Installed Azul Zulu"
|
msg_ok "Installed Azul Zulu"
|
||||||
|
|
||||||
msg_info "Installing MongoDB"
|
msg_info "Installing MongoDB"
|
||||||
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
|
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb
|
||||||
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
|
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb
|
||||||
wget -qL https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/3.6/multiverse/binary-amd64/mongodb-org-server_3.6.23_amd64.deb
|
wget -qL https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/3.6/multiverse/binary-amd64/mongodb-org-server_3.6.23_amd64.deb
|
||||||
$STD dpkg -i mongodb-org-server_3.6.23_amd64.deb
|
$STD dpkg -i mongodb-org-server_3.6.23_amd64.deb
|
||||||
msg_ok "Installed MongoDB"
|
msg_ok "Installed MongoDB"
|
||||||
|
@ -48,7 +48,7 @@ motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf ${latest_version} mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
|
rm -rf ${latest_version} mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb
|
||||||
$STD apt-get autoremove
|
$STD apt-get autoremove
|
||||||
$STD apt-get autoclean
|
$STD apt-get autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|
|
@ -29,8 +29,8 @@ $STD apt-get install -y temurin-17-jdk
|
||||||
msg_ok "Installed OpenJDK"
|
msg_ok "Installed OpenJDK"
|
||||||
|
|
||||||
msg_info "Installing MongoDB"
|
msg_info "Installing MongoDB"
|
||||||
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
|
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb
|
||||||
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
|
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb
|
||||||
wget -qO- https://pgp.mongodb.com/server-4.4.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/mongodb-server-4.4.gpg
|
wget -qO- https://pgp.mongodb.com/server-4.4.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/mongodb-server-4.4.gpg
|
||||||
echo 'deb [ arch=amd64 signed-by=/etc/apt/trusted.gpg.d/mongodb-server-4.4.gpg ] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main' >/etc/apt/sources.list.d/mongodb-org-4.4.list
|
echo 'deb [ arch=amd64 signed-by=/etc/apt/trusted.gpg.d/mongodb-server-4.4.gpg ] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main' >/etc/apt/sources.list.d/mongodb-org-4.4.list
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
|
@ -48,7 +48,7 @@ motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
|
rm -rf libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb
|
||||||
$STD apt-get autoremove
|
$STD apt-get autoremove
|
||||||
$STD apt-get autoclean
|
$STD apt-get autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|
|
@ -88,9 +88,9 @@ 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 (EOL 2024-07), 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.4-[1][3-9]|8.1.[1-9])"; then
|
||||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
msg_error "This version of Proxmox Virtual Environment is not supported"
|
||||||
echo -e "Requires PVE Version 7.0 or higher"
|
echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
|
||||||
echo -e "Exiting..."
|
echo -e "Exiting..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -92,9 +92,9 @@ function check_root() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function pve_check() {
|
function pve_check() {
|
||||||
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
|
if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
|
||||||
msg_error "This version of Proxmox Virtual Environment is not supported"
|
msg_error "This version of Proxmox Virtual Environment is not supported"
|
||||||
echo -e "Requires PVE Version 7.2 or higher"
|
echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
|
||||||
echo -e "Exiting..."
|
echo -e "Exiting..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -115,9 +115,9 @@ function check_root() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function pve_check() {
|
function pve_check() {
|
||||||
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
|
if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
|
||||||
msg_error "This version of Proxmox Virtual Environment is not supported"
|
msg_error "This version of Proxmox Virtual Environment is not supported"
|
||||||
echo -e "Requires PVE Version 7.2 or higher"
|
echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
|
||||||
echo -e "Exiting..."
|
echo -e "Exiting..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -62,9 +62,9 @@ function cleanup() {
|
||||||
}
|
}
|
||||||
TEMP_DIR=$(mktemp -d)
|
TEMP_DIR=$(mktemp -d)
|
||||||
pushd $TEMP_DIR >/dev/null
|
pushd $TEMP_DIR >/dev/null
|
||||||
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
|
if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
|
||||||
echo "⚠ This version of Proxmox Virtual Environment is not supported"
|
echo "⚠ This version of Proxmox Virtual Environment is not supported"
|
||||||
echo -e "Requires PVE Version 7.2 or higher"
|
echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
|
||||||
echo "Exiting..."
|
echo "Exiting..."
|
||||||
sleep 3
|
sleep 3
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -91,9 +91,9 @@ function check_root() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function pve_check() {
|
function pve_check() {
|
||||||
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
|
if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
|
||||||
msg_error "This version of Proxmox Virtual Environment is not supported"
|
msg_error "This version of Proxmox Virtual Environment is not supported"
|
||||||
echo -e "Requires PVE Version 7.2 or higher"
|
echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
|
||||||
echo -e "Exiting..."
|
echo -e "Exiting..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -157,9 +157,9 @@ function msg_error() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function pve_check() {
|
function pve_check() {
|
||||||
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
|
if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-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"
|
||||||
echo -e "Requires PVE Version 7.2 or higher"
|
echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
|
||||||
echo -e "Exiting..."
|
echo -e "Exiting..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -91,9 +91,9 @@ function check_root() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function pve_check() {
|
function pve_check() {
|
||||||
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
|
if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
|
||||||
msg_error "This version of Proxmox Virtual Environment is not supported"
|
msg_error "This version of Proxmox Virtual Environment is not supported"
|
||||||
echo -e "Requires PVE Version 7.2 or higher"
|
echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
|
||||||
echo -e "Exiting..."
|
echo -e "Exiting..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -84,9 +84,9 @@ else
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
function PVE_CHECK() {
|
function PVE_CHECK() {
|
||||||
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
|
if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-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"
|
||||||
echo -e "Requires PVE Version 7.2 or higher"
|
echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
|
||||||
echo -e "Exiting..."
|
echo -e "Exiting..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -92,9 +92,9 @@ function check_root() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function pve_check() {
|
function pve_check() {
|
||||||
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
|
if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
|
||||||
msg_error "This version of Proxmox Virtual Environment is not supported"
|
msg_error "This version of Proxmox Virtual Environment is not supported"
|
||||||
echo -e "Requires PVE Version 7.2 or higher"
|
echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
|
||||||
echo -e "Exiting..."
|
echo -e "Exiting..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in New Issue