Move changes from test branch to upstream merge branch

This commit is contained in:
Sam
2025-01-08 00:08:31 +10:00
parent 060dad5633
commit 3bbbffb688
213 changed files with 1741 additions and 1315 deletions
+5 -9
View File
@@ -4,7 +4,7 @@
# Author: tteck
# Co-Author: MickLesk (Canbiz)
# License: MIT
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# https://github.com/tteck/Proxmox/raw/main/LICENSE
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
color
@@ -29,7 +29,9 @@ $STD apt-get install -y --no-install-recommends \
sudo \
git \
make \
mc
mc \
wget \
openssh-server
msg_ok "Installed Dependencies"
msg_info "Updating Python3"
@@ -37,9 +39,7 @@ $STD apt-get install -y \
python3 \
python3-dev \
python3-setuptools \
python3-pip \
openssh-server \
wget
python3-pip
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Updated Python3"
@@ -52,8 +52,6 @@ msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js"
$STD apt-get update
$STD apt-get install -y nodejs
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
$STD npm install -g yarn
msg_ok "Installed Node.js"
@@ -84,8 +82,6 @@ curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|gpg --dearmor -o /
echo "deb https://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" >/etc/apt/sources.list.d/pgdg.list
$STD apt-get update
$STD apt-get install -y postgresql-16
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER TEMPLATE template0;"
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';"