change urls for testing purposes
This commit is contained in:
parent
b9534031c3
commit
1bde893dd9
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func)
|
source <(curl -fsSL https://raw.githubusercontent.com/minthcm/ProxmoxVED/feature/minthcm/misc/build.func)
|
||||||
# Copyright (c) 2021-2025 minthcm
|
# Copyright (c) 2021-2025 minthcm
|
||||||
# Author: MintHCM
|
# Author: MintHCM
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
|||||||
@ -13,8 +13,6 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
MINT_REPO="https://github.com/minthcm/minthcm.git"
|
|
||||||
|
|
||||||
msg_info "Setting up PHP 8.2"
|
msg_info "Setting up PHP 8.2"
|
||||||
PHP_APACHE="YES" PHP_VERSION="8.2" PHP_MODULE="mysql,cli,redis" PHP_FPM="YES" setup_php
|
PHP_APACHE="YES" PHP_VERSION="8.2" PHP_MODULE="mysql,cli,redis" PHP_FPM="YES" setup_php
|
||||||
msg_ok "Set up PHP 8.2"
|
msg_ok "Set up PHP 8.2"
|
||||||
|
|||||||
@ -91,7 +91,7 @@ variables() {
|
|||||||
# FUNC_DIR="/usr/local/community-scripts/core"
|
# FUNC_DIR="/usr/local/community-scripts/core"
|
||||||
# mkdir -p "$FUNC_DIR"
|
# mkdir -p "$FUNC_DIR"
|
||||||
|
|
||||||
# BUILD_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func"
|
# BUILD_URL="https://raw.githubusercontent.com/minthcm/ProxmoxVED/feature/minthcm/misc/build.func"
|
||||||
# BUILD_REV="$FUNC_DIR/build.rev"
|
# BUILD_REV="$FUNC_DIR/build.rev"
|
||||||
# DEVMODE="${DEVMODE:-no}"
|
# DEVMODE="${DEVMODE:-no}"
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ variables() {
|
|||||||
|
|
||||||
# update_func_file() {
|
# update_func_file() {
|
||||||
# local file="$1"
|
# local file="$1"
|
||||||
# local url="https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/$file"
|
# local url="https://raw.githubusercontent.com/minthcm/ProxmoxVED/feature/minthcm/misc/$file"
|
||||||
# local local_path="$FUNC_DIR/$file"
|
# local local_path="$FUNC_DIR/$file"
|
||||||
|
|
||||||
# echo "⬇️ Downloading $file ..."
|
# echo "⬇️ Downloading $file ..."
|
||||||
@ -3199,7 +3199,7 @@ EOF'
|
|||||||
set +Eeuo pipefail # Disable ALL error handling temporarily
|
set +Eeuo pipefail # Disable ALL error handling temporarily
|
||||||
trap - ERR # Remove ERR trap completely
|
trap - ERR # Remove ERR trap completely
|
||||||
|
|
||||||
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/${var_install}.sh)"
|
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/minthcm/ProxmoxVED/feature/minthcm/install/${var_install}.sh)"
|
||||||
local lxc_exit=$?
|
local lxc_exit=$?
|
||||||
|
|
||||||
set -Eeuo pipefail # Re-enable error handling
|
set -Eeuo pipefail # Re-enable error handling
|
||||||
@ -3286,7 +3286,7 @@ EOF'
|
|||||||
if [[ "${DEV_MODE_MOTD:-false}" == "true" ]]; then
|
if [[ "${DEV_MODE_MOTD:-false}" == "true" ]]; then
|
||||||
echo -e "${TAB}${HOLD}${DGN}Setting up MOTD and SSH for debugging...${CL}"
|
echo -e "${TAB}${HOLD}${DGN}Setting up MOTD and SSH for debugging...${CL}"
|
||||||
if pct exec "$CTID" -- bash -c "
|
if pct exec "$CTID" -- bash -c "
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/install.func)
|
source <(curl -fsSL https://raw.githubusercontent.com/minthcm/ProxmoxVED/feature/minthcm/misc/install.func)
|
||||||
declare -f motd_ssh >/dev/null 2>&1 && motd_ssh || true
|
declare -f motd_ssh >/dev/null 2>&1 && motd_ssh || true
|
||||||
" >/dev/null 2>&1; then
|
" >/dev/null 2>&1; then
|
||||||
local ct_ip=$(pct exec "$CTID" ip a s dev eth0 2>/dev/null | awk '/inet / {print $2}' | cut -d/ -f1)
|
local ct_ip=$(pct exec "$CTID" ip a s dev eth0 2>/dev/null | awk '/inet / {print $2}' | cut -d/ -f1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user