From 5420269e970e86ce9ecafe78cd0ee5ddcdb751e2 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 8 Oct 2024 09:39:48 +0200 Subject: [PATCH 01/16] Fix Tianji Installation & Performance-Boost --- install/tianji-install.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/install/tianji-install.sh b/install/tianji-install.sh index 4deea1baa..218b9ce95 100644 --- a/install/tianji-install.sh +++ b/install/tianji-install.sh @@ -18,6 +18,9 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ postgresql \ + python3 \ + cmake \ + g++ \ build-essential \ curl \ sudo \ @@ -62,9 +65,12 @@ wget -q "https://github.com/msgbyte/tianji/archive/refs/tags/v${RELEASE}.zip" unzip -q v${RELEASE}.zip mv tianji-${RELEASE} /opt/tianji cd tianji -export NODE_OPTIONS=--max_old_space_size=4096 -$STD pnpm install -$STD pnpm build +$STD pnpm install --filter @tianji/client... --config.dedupe-peer-dependents=false --frozen-lockfile +$STD pnpm build:static +$STD pnpm install --filter @tianji/server... --config.dedupe-peer-dependents=false +mkdir -p ./src/server/public +cp -r ./geo ./src/server/public +$STD pnpm build:server echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt" cat </opt/tianji/src/server/.env DATABASE_URL="postgresql://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?schema=public" @@ -84,6 +90,9 @@ customize msg_info "Cleaning up" rm -R /opt/v${RELEASE}.zip +rm -rf /opt/tianji/src/client +rm -rf /opt/tianji/website +rm -rf /opt/tianji/reporter $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" From 6bee7e291ed2894cc056aafb5a59199bd37d6ffe Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 8 Oct 2024 09:41:12 +0200 Subject: [PATCH 02/16] Update tianji-install.sh --- install/tianji-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/tianji-install.sh b/install/tianji-install.sh index 218b9ce95..729d40490 100644 --- a/install/tianji-install.sh +++ b/install/tianji-install.sh @@ -39,6 +39,7 @@ $STD apt-get update $STD apt-get install -y nodejs $STD npm install -g pnpm@9.7.1 $STD npm install -g pm2 +export NODE_OPTIONS="--max_old_space_size=4096" msg_ok "Installed Node.js, pnpm & pm2" msg_info "Setting up PostgreSQL" From eb881fefa60024e4a65dc9fa6bb7c4bb28881e36 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 9 Oct 2024 12:23:36 +0200 Subject: [PATCH 03/16] Add new LXC: MySQL (#3870) --- ct/mysql.sh | 70 ++++++++++++++++++++++++++++++++++ install/mysql-install.sh | 82 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 152 insertions(+) create mode 100644 ct/mysql.sh create mode 100644 install/mysql-install.sh diff --git a/ct/mysql.sh b/ct/mysql.sh new file mode 100644 index 000000000..321d01f78 --- /dev/null +++ b/ct/mysql.sh @@ -0,0 +1,70 @@ +#!/usr/bin/env bash +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +# Copyright (c) 2021-2024 tteck +# Author: tteck +# Co-Author: MickLesk (Canbiz) +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +function header_info { +clear +cat <<"EOF" + __ ___ _____ ____ __ + / |/ /_ __/ ___// __ \ / / + / /|_/ / / / /\__ \/ / / / / / + / / / / /_/ /___/ / /_/ / / /___ +/_/ /_/\__, //____/\___\_\/_____/ + /____/ +EOF +} +header_info +echo -e "Loading..." +APP="MySQL" +var_disk="4" +var_cpu="1" +var_ram="1024" +var_os="debian" +var_version="12" +variables +color +catch_errors + +function default_settings() { + CT_TYPE="1" + PW="" + CT_ID=$NEXTID + HN=$NSAPP + DISK_SIZE="$var_disk" + CORE_COUNT="$var_cpu" + RAM_SIZE="$var_ram" + BRG="vmbr0" + NET="dhcp" + GATE="" + APT_CACHER="" + APT_CACHER_IP="" + DISABLEIP6="no" + MTU="" + SD="" + NS="" + MAC="" + VLAN="" + SSH="no" + VERB="no" + echo_default +} + +function update_script() { +header_info +if [[ ! -f /usr/share/keyrings/mysql.gpg ]]; then msg_error "No ${APP} Installation Found!"; exit; fi +msg_info "Updating ${APP} LXC" +apt-get update &>/dev/null +apt-get -y upgrade &>/dev/null +msg_ok "Updated Successfully" +exit +} + +start +build_container +description + +msg_ok "Completed Successfully!\n" diff --git a/install/mysql-install.sh b/install/mysql-install.sh new file mode 100644 index 000000000..93adda8f7 --- /dev/null +++ b/install/mysql-install.sh @@ -0,0 +1,82 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2024 tteck +# Author: tteck +# Co-Author: MickLesk (Canbiz) +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE +# Source: https://www.mysql.com/products/community | https://www.phpmyadmin.net + +source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y \ + sudo \ + lsb-release \ + curl \ + gnupg \ + apt-transport-https \ + make \ + mc +msg_ok "Installed Dependencies" + +msg_info "Installing MySQL" +curl -fsSL https://repo.mysql.com/RPM-GPG-KEY-mysql-2023 | gpg --dearmor -o /usr/share/keyrings/mysql.gpg +echo "deb [signed-by=/usr/share/keyrings/mysql.gpg] http://repo.mysql.com/apt/debian $(lsb_release -sc) mysql-8.0" >/etc/apt/sources.list.d/mysql.list +$STD apt-get update +export DEBIAN_FRONTEND=noninteractive +$STD apt-get install -y \ + mysql-common \ + mysql-community-client \ + mysql-community-server +msg_ok "Installed MySQL" + +msg_info "Configure MySQL Server" +ADMIN_PASS="$(openssl rand -base64 18 | cut -c1-13)" +$STD mysql -uroot -p"$ADMIN_PASS" -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '$ADMIN_PASS'; FLUSH PRIVILEGES;" +echo "" >>~/mysql.creds +echo -e "MySQL Root Password: $ADMIN_PASS" >>~/mysql.creds +msg_ok "MySQL Server configured" + +read -r -p "Would you like to add PhpMyAdmin? " prompt +if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then + msg_info "Adding phpMyAdmin" + $STD apt-get install -y \ + apache2 \ + php \ + php-mysqli \ + php-mbstring \ + php-zip \ + php-gd \ + php-json \ + php-curl + + wget -q "https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.tar.gz" + mkdir -p /var/www/html/phpMyAdmin + $STD tar xvf phpMyAdmin-5.2.1-all-languages.tar.gz --strip-components=1 -C /var/www/html/phpMyAdmin + cp /var/www/html/phpMyAdmin/config.sample.inc.php /var/www/html/phpMyAdmin/config.inc.php + SECRET=$(openssl rand -base64 32) + sed -i "s#\$cfg\['blowfish_secret'\] = '';#\$cfg['blowfish_secret'] = '${SECRET}';#" /var/www/html/phpMyAdmin/config.inc.php + chmod 660 /var/www/html/phpMyAdmin/config.inc.php + chown -R www-data:www-data /var/www/html/phpMyAdmin + systemctl restart apache2 + msg_ok "Added phpMyAdmin" +fi + +msg_info "Start Service" +systemctl enable -q --now mysql +msg_ok "Service started" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" From 741f38fe2f8f52b4333a7a3ff926b11e3cc62b1f Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 9 Oct 2024 06:48:53 -0400 Subject: [PATCH 04/16] Update mysql-install.sh Create exactly 32 characters of Base64 output --- install/mysql-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/mysql-install.sh b/install/mysql-install.sh index 93adda8f7..3ee3ba2f6 100644 --- a/install/mysql-install.sh +++ b/install/mysql-install.sh @@ -61,7 +61,7 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then mkdir -p /var/www/html/phpMyAdmin $STD tar xvf phpMyAdmin-5.2.1-all-languages.tar.gz --strip-components=1 -C /var/www/html/phpMyAdmin cp /var/www/html/phpMyAdmin/config.sample.inc.php /var/www/html/phpMyAdmin/config.inc.php - SECRET=$(openssl rand -base64 32) + SECRET=$(openssl rand -base64 24) sed -i "s#\$cfg\['blowfish_secret'\] = '';#\$cfg['blowfish_secret'] = '${SECRET}';#" /var/www/html/phpMyAdmin/config.inc.php chmod 660 /var/www/html/phpMyAdmin/config.inc.php chown -R www-data:www-data /var/www/html/phpMyAdmin From e9ec4c4f8ed641e1aca2d9060003256348902d67 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 9 Oct 2024 09:24:53 -0400 Subject: [PATCH 05/16] Update mysql-install.sh tweak --- install/mysql-install.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/install/mysql-install.sh b/install/mysql-install.sh index 3ee3ba2f6..c62001630 100644 --- a/install/mysql-install.sh +++ b/install/mysql-install.sh @@ -20,9 +20,7 @@ $STD apt-get install -y \ sudo \ lsb-release \ curl \ - gnupg \ - apt-transport-https \ - make \ + gnupg \ mc msg_ok "Installed Dependencies" @@ -32,7 +30,6 @@ echo "deb [signed-by=/usr/share/keyrings/mysql.gpg] http://repo.mysql.com/apt/de $STD apt-get update export DEBIAN_FRONTEND=noninteractive $STD apt-get install -y \ - mysql-common \ mysql-community-client \ mysql-community-server msg_ok "Installed MySQL" @@ -46,7 +43,7 @@ msg_ok "MySQL Server configured" read -r -p "Would you like to add PhpMyAdmin? " prompt if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then - msg_info "Adding phpMyAdmin" + msg_info "Installing phpMyAdmin" $STD apt-get install -y \ apache2 \ php \ @@ -66,7 +63,7 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then chmod 660 /var/www/html/phpMyAdmin/config.inc.php chown -R www-data:www-data /var/www/html/phpMyAdmin systemctl restart apache2 - msg_ok "Added phpMyAdmin" + msg_ok "Installed phpMyAdmin" fi msg_info "Start Service" From a10a0f09dd5f2b743249784dc04e0c95d1bfdbf7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 10 Oct 2024 08:00:58 -0400 Subject: [PATCH 06/16] Update mysql-install.sh tweak --- install/mysql-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/mysql-install.sh b/install/mysql-install.sh index c62001630..7639a4060 100644 --- a/install/mysql-install.sh +++ b/install/mysql-install.sh @@ -37,8 +37,9 @@ msg_ok "Installed MySQL" msg_info "Configure MySQL Server" ADMIN_PASS="$(openssl rand -base64 18 | cut -c1-13)" $STD mysql -uroot -p"$ADMIN_PASS" -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '$ADMIN_PASS'; FLUSH PRIVILEGES;" -echo "" >>~/mysql.creds -echo -e "MySQL Root Password: $ADMIN_PASS" >>~/mysql.creds +echo "" >~/mysql.creds +echo -e "MySQL user: root" >>~/mysql.creds +echo -e "MySQL password: $ADMIN_PASS" >>~/mysql.creds msg_ok "MySQL Server configured" read -r -p "Would you like to add PhpMyAdmin? " prompt From b7fe85cd5b1dfc0dab089a7cb6f40e8aa364f7c7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 10 Oct 2024 08:03:13 -0400 Subject: [PATCH 07/16] Update CHANGELOG.md --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54ded381c..6ee13ec1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,13 @@ Be cautious of copycat or coat-tailing sites that exploit the project's populari > [!NOTE] 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. +## 2024-10-10 + +### Changed + +- **MySQL LXC** [(View Source)](https://github.com/tteck/Proxmox/blob/main/install/mysql-install.sh) + - NEW Script + ## 2024-10-03 ### Changed From 4c83a790ac9b040da1f11ad2cbe13d3fc5f480e9 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 10 Oct 2024 09:49:09 -0400 Subject: [PATCH 08/16] Update tianji-install.sh switch from `pm2` process management to `systemd` fixes https://github.com/tteck/Proxmox/issues/3876 --- install/tianji-install.sh | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/install/tianji-install.sh b/install/tianji-install.sh index 729d40490..ebd6cd780 100644 --- a/install/tianji-install.sh +++ b/install/tianji-install.sh @@ -38,7 +38,6 @@ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.co $STD apt-get update $STD apt-get install -y nodejs $STD npm install -g pnpm@9.7.1 -$STD npm install -g pm2 export NODE_OPTIONS="--max_old_space_size=4096" msg_ok "Installed Node.js, pnpm & pm2" @@ -77,15 +76,30 @@ cat </opt/tianji/src/server/.env DATABASE_URL="postgresql://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?schema=public" JWT_SECRET="$TIANJI_SECRET" EOF -cd /opt/tianji -$STD npm install pm2 -g -$STD pm2 install pm2-logrotate -cd src/server +cd /opt/tianji/src/server $STD pnpm db:migrate:apply -$STD pm2 start /opt/tianji/src/server/dist/src/server/main.js --name tianji -$STD pm2 save msg_ok "Installed Tianji" +msg_info "Creating Service" +cat </etc/systemd/system/tianji.service +[Unit] +Description=Tianji Server +After=network.target + +[Service] +ExecStart=/usr/bin/node /opt/tianji/src/server/dist/src/server/main.js +WorkingDirectory=/opt/tianji/src/server +Restart=always +RestartSec=10 + +Environment=NODE_ENV=production + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now tianji.service +msg_ok "Created Service" + motd_ssh customize From 36805ae6bbf24fbe1c4365f055bf0fc59c3b8da9 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 10 Oct 2024 09:50:54 -0400 Subject: [PATCH 09/16] Update tianji.sh switch to `systemd` --- ct/tianji.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/tianji.sh b/ct/tianji.sh index c58e739de..e8e83766e 100644 --- a/ct/tianji.sh +++ b/ct/tianji.sh @@ -63,7 +63,7 @@ RELEASE=$(curl -s https://api.github.com/repos/msgbyte/tianji/releases/latest | if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then msg_info "Stopping ${APP} Service" - pm2 stop tianji >/dev/null 2>&1 + systemctl stop tianji msg_ok "Stopped ${APP} Service" msg_info "Updating ${APP} to ${RELEASE}" @@ -75,7 +75,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v msg_ok "Updated ${APP} to ${RELEASE}" msg_info "Starting ${APP}" - pm2 start tianji >/dev/null 2>&1 + systemctl start tianji msg_ok "Started ${APP}" msg_ok "Updated Successfully" else From 6fbb8ab4a218638ca1c8c01f12ab0657c0f4a39b Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 10 Oct 2024 09:55:32 -0400 Subject: [PATCH 10/16] Update CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ee13ec1f..81b83eaa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,9 @@ All LXC instances created using this repository come pre-installed with Midnight - **MySQL LXC** [(View Source)](https://github.com/tteck/Proxmox/blob/main/install/mysql-install.sh) - NEW Script +- **Tianji LXC** [(Commit)](https://github.com/tteck/Proxmox/commit/4c83a790ac9b040da1f11ad2cbe13d3fc5f480e9) + - Breaking Change + - Switch from `pm2` process management to `systemd` ## 2024-10-03 From af5218d0a16016236ba871db2bf7bb8c918ed5c4 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 11 Oct 2024 04:51:43 -0400 Subject: [PATCH 11/16] Update mysql-install.sh tweak --- install/mysql-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/mysql-install.sh b/install/mysql-install.sh index 7639a4060..0a46b9278 100644 --- a/install/mysql-install.sh +++ b/install/mysql-install.sh @@ -57,7 +57,7 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then wget -q "https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.tar.gz" mkdir -p /var/www/html/phpMyAdmin - $STD tar xvf phpMyAdmin-5.2.1-all-languages.tar.gz --strip-components=1 -C /var/www/html/phpMyAdmin + tar xf phpMyAdmin-5.2.1-all-languages.tar.gz --strip-components=1 -C /var/www/html/phpMyAdmin cp /var/www/html/phpMyAdmin/config.sample.inc.php /var/www/html/phpMyAdmin/config.inc.php SECRET=$(openssl rand -base64 24) sed -i "s#\$cfg\['blowfish_secret'\] = '';#\$cfg['blowfish_secret'] = '${SECRET}';#" /var/www/html/phpMyAdmin/config.inc.php From 79e0c29e33d8ba7433c2c613b8348e280c257af0 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:01:11 +0200 Subject: [PATCH 12/16] Optional Installing of phpMyAdmin for MariaDB (#3885) --- install/mariadb-install.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/install/mariadb-install.sh b/install/mariadb-install.sh index c0d67cab2..a10ce0bef 100644 --- a/install/mariadb-install.sh +++ b/install/mariadb-install.sh @@ -25,6 +25,31 @@ sed -i 's/^# *\(port *=.*\)/\1/' /etc/mysql/my.cnf sed -i 's/^bind-address/#bind-address/g' /etc/mysql/mariadb.conf.d/50-server.cnf msg_ok "Installed MariaDB" +read -r -p "Would you like to add PhpMyAdmin? " prompt +if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then + msg_info "Installing phpMyAdmin" + $STD apt-get install -y \ + apache2 \ + php \ + php-mysqli \ + php-mbstring \ + php-zip \ + php-gd \ + php-json \ + php-curl + + wget -q "https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.tar.gz" + mkdir -p /var/www/html/phpMyAdmin + tar xf phpMyAdmin-5.2.1-all-languages.tar.gz --strip-components=1 -C /var/www/html/phpMyAdmin + cp /var/www/html/phpMyAdmin/config.sample.inc.php /var/www/html/phpMyAdmin/config.inc.php + SECRET=$(openssl rand -base64 24) + sed -i "s#\$cfg\['blowfish_secret'\] = '';#\$cfg['blowfish_secret'] = '${SECRET}';#" /var/www/html/phpMyAdmin/config.inc.php + chmod 660 /var/www/html/phpMyAdmin/config.inc.php + chown -R www-data:www-data /var/www/html/phpMyAdmin + systemctl restart apache2 + msg_ok "Installed phpMyAdmin" +fi + motd_ssh customize From 8d8b152f6fc009e3bac400a251af7d6306a7abff Mon Sep 17 00:00:00 2001 From: leiweibau <105860611+leiweibau@users.noreply.github.com> Date: Fri, 11 Oct 2024 16:33:01 +0200 Subject: [PATCH 13/16] Update pialert-install.sh (#3888) Future versions will use these packages --- install/pialert-install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/pialert-install.sh b/install/pialert-install.sh index d08f16f7f..ff5ff2ee8 100644 --- a/install/pialert-install.sh +++ b/install/pialert-install.sh @@ -49,7 +49,9 @@ msg_ok "Installed PHP Dependencies" msg_info "Installing Python Dependencies" $STD apt-get -y install \ python3-pip \ - python3-requests + python3-requests \ + python3-tz \ + python3-tzlocal rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED $STD pip3 install mac-vendor-lookup $STD pip3 install fritzconnection From f5d1d21ac6f0705781da7390abdc977bb4e034a0 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 11 Oct 2024 11:14:11 -0400 Subject: [PATCH 14/16] Update build.func tweak --- misc/build.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build.func b/misc/build.func index 950ddafac..8d46624c5 100644 --- a/misc/build.func +++ b/misc/build.func @@ -503,7 +503,7 @@ install_script() { start() { if command -v pveversion >/dev/null 2>&1; then - if ! (whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC" --yesno "To ensure the safety of your system, please only use https://tteck.github.io/Proxmox/\n\nThis will create a New ${APP} LXC. Proceed?" 10 90); then + if ! (whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC" --yesno "To ensure the safety of your system, please use ONLY https://tteck.github.io/Proxmox/\n\nThis will create a New ${APP} LXC. Proceed?" 10 90); then clear echo -e "⚠ User exited script \n" exit From 80f678a2b31ae9581e78a723b6b972d530a57bfb Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 11 Oct 2024 11:23:16 -0400 Subject: [PATCH 15/16] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81b83eaa1..e5740caf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@

All notable changes to this project will be documented in this file.

> [!CAUTION] -Be cautious of copycat or coat-tailing sites that exploit the project's popularity with potentially malicious intent. Please only trust information from https://Helper-Scripts.com/ or https://tteck.github.io/Proxmox/. +Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes. It is imperative to rely solely on information from https://Helper-Scripts.com/ or https://tteck.github.io/Proxmox/ for accurate and trustworthy content. > [!NOTE] 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. From d9789d1685e599cada03c24bce71cf00371d0780 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 11 Oct 2024 11:24:01 -0400 Subject: [PATCH 16/16] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 02317c52b..20da75719 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ --- > [!CAUTION] -Be cautious of copycat or coat-tailing sites that exploit the project's popularity with potentially malicious intent. Please only trust information from https://Helper-Scripts.com/ or https://tteck.github.io/Proxmox/. +Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes. It is imperative to rely solely on information from https://Helper-Scripts.com/ or https://tteck.github.io/Proxmox/ for accurate and trustworthy content. These scripts empower users to create a Linux container or virtual machine interactively, providing choices for both simple and advanced configurations. The basic setup adheres to default settings, while the advanced setup gives users the ability to customize these defaults.