setup fork
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
# ADDON TEMPLATE - Use this as starting point for new addon scripts
|
||||
# ==============================================================================
|
||||
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/--full/ProxmoxVED/main/misc/core.func)
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/--full/ProxmoxVED/main/misc/tools.func)
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/montagneid/ProxmoxVED/main/misc/core.func)
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/montagneid/ProxmoxVED/main/misc/tools.func)
|
||||
|
||||
# ==============================================================================
|
||||
# CONFIGURATION
|
||||
@@ -291,7 +291,7 @@ echo -e "\${BL}━━━━━━━━━━━━━━━━━━━━━
|
||||
echo ""
|
||||
|
||||
# Source tools.func for update functions
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/--full/ProxmoxVED/main/misc/tools.func) 2>/dev/null || {
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/montagneid/ProxmoxVED/main/misc/tools.func) 2>/dev/null || {
|
||||
echo -e "\${RD}Failed to load tools.func\${CL}"
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Copyright (c) 2021-2026 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
# https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
|
||||
@@ -92,7 +92,7 @@ function update() {
|
||||
cat <<'UPDATEEOF' >/usr/local/bin/update_cronmaster
|
||||
#!/usr/bin/env bash
|
||||
# CronMaster Update Script
|
||||
CRONMASTER_ACTION=update bash -c "$(curl -fsSL https://raw.githubusercontent.com/--full/ProxmoxVED/main/tools/addon/cronmaster.sh)"
|
||||
CRONMASTER_ACTION=update bash -c "$(curl -fsSL https://raw.githubusercontent.com/montagneid/ProxmoxVED/main/tools/addon/cronmaster.sh)"
|
||||
UPDATEEOF
|
||||
chmod +x /usr/local/bin/update_cronmaster
|
||||
msg_ok "Updated update script"
|
||||
@@ -158,7 +158,7 @@ EOF
|
||||
cat <<'UPDATEEOF' >/usr/local/bin/update_cronmaster
|
||||
#!/usr/bin/env bash
|
||||
# CronMaster Update Script
|
||||
CRONMASTER_ACTION=update bash -c "$(curl -fsSL https://raw.githubusercontent.com/--full/ProxmoxVED/main/tools/addon/cronmaster.sh)"
|
||||
CRONMASTER_ACTION=update bash -c "$(curl -fsSL https://raw.githubusercontent.com/montagneid/ProxmoxVED/main/tools/addon/cronmaster.sh)"
|
||||
UPDATEEOF
|
||||
chmod +x /usr/local/bin/update_cronmaster
|
||||
msg_ok "Created update script (/usr/local/bin/update_cronmaster)"
|
||||
|
||||
@@ -48,7 +48,7 @@ install_glances_debian() {
|
||||
msg_ok "Installed dependencies"
|
||||
|
||||
msg_info "Setting up Python + uv"
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/--full/ProxmoxVED/main/misc/tools.func)
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/montagneid/ProxmoxVED/main/misc/tools.func)
|
||||
setup_uv PYTHON_VERSION="3.12"
|
||||
msg_ok "Setup Python + uv"
|
||||
|
||||
@@ -118,7 +118,7 @@ install_glances_alpine() {
|
||||
msg_ok "Installed dependencies"
|
||||
|
||||
msg_info "Setting up Python + uv"
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/--full/ProxmoxVED/main/misc/tools.func)
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/montagneid/ProxmoxVED/main/misc/tools.func)
|
||||
setup_uv PYTHON_VERSION="3.12"
|
||||
msg_ok "Setup Python + uv"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Copyright (c) 2021-2026 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
# https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
|
||||
@@ -252,7 +252,7 @@ echo -e "\${BL}━━━━━━━━━━━━━━━━━━━━━
|
||||
echo ""
|
||||
|
||||
# Source tools.func for update functions
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/--full/ProxmoxVED/main/misc/tools.func) 2>/dev/null || {
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/montagneid/ProxmoxVED/main/misc/tools.func) 2>/dev/null || {
|
||||
echo -e "\${RD}Failed to load tools.func\${CL}"
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Copyright (c) 2021-2026 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
# https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
|
||||
clear
|
||||
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Run from the Proxmox Shell"; exit; fi
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Copyright (c) 2021-2026 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
# https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
|
||||
clear
|
||||
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Run from the Proxmox Shell"; exit; fi
|
||||
|
||||
@@ -2,17 +2,17 @@
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# License: MIT | https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
#
|
||||
# This script manages a local cron job for automatic LXC container OS updates.
|
||||
# The update script is downloaded once, displayed for review, and installed
|
||||
# locally. Cron runs the local copy — no remote code execution at runtime.
|
||||
#
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/--full/ProxmoxVED/main/tools/pve/cron-update-lxcs.sh)"
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/montagneid/ProxmoxVED/main/tools/pve/cron-update-lxcs.sh)"
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
REPO_URL="https://raw.githubusercontent.com/--full/ProxmoxVED/main"
|
||||
REPO_URL="https://raw.githubusercontent.com/montagneid/ProxmoxVED/main"
|
||||
SCRIPT_URL="${REPO_URL}/tools/pve/update-lxcs-cron.sh"
|
||||
LOCAL_SCRIPT="/usr/local/bin/update-lxcs.sh"
|
||||
CONF_FILE="/etc/update-lxcs.conf"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: GitHub Copilot
|
||||
# License: MIT | https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# License: MIT | https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
|
||||
set -eEuo pipefail
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Copyright (c) 2021-2026 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
# https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
clear
|
||||
@@ -89,5 +89,5 @@ EOF
|
||||
echo -e "\e[1;33m \nFinished....Reboot ${CTID} LXC to apply the changes.\n \e[0m"
|
||||
|
||||
# In the Proxmox web shell run
|
||||
# bash -c "$(curl -fsSL https://github.com/--full/ProxmoxVED/raw/main/misc/frigate-support.sh)"
|
||||
# bash -c "$(curl -fsSL https://github.com/montagneid/ProxmoxVED/raw/main/misc/frigate-support.sh)"
|
||||
# Reboot the LXC to apply the changes
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Copyright (c) 2021-2026 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
# https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
clear
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
# Only supports PRIVILEGED containers for GPU passthrough.
|
||||
# License: MIT
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# Repo: https://github.com/--full/ProxmoxVED
|
||||
# Repo: https://github.com/montagneid/ProxmoxVED
|
||||
#
|
||||
# Usage: bash -c "$(wget -qLO - https://github.com/--full/ProxmoxVED/raw/main/misc/hw-acceleration.sh)"
|
||||
# Usage: bash -c "$(wget -qLO - https://github.com/montagneid/ProxmoxVED/raw/main/misc/hw-acceleration.sh)"
|
||||
#
|
||||
# Requires:
|
||||
# - Proxmox VE 8.1+
|
||||
@@ -25,16 +25,16 @@
|
||||
# - Interactive menu system via whiptail
|
||||
#
|
||||
# Proxmox LXC Hardware Passthrough & GPU Acceleration Setup
|
||||
# https://github.com/--full/ProxmoxVED
|
||||
# https://github.com/montagneid/ProxmoxVED
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
trap 'rm -rf $TEMP_DIR' EXIT
|
||||
|
||||
source <(wget -qO- https://github.com/--full/ProxmoxVED/raw/main/tools/pve/gpu-nvidia.func)
|
||||
source <(wget -qO- https://github.com/--full/ProxmoxVED/raw/main/tools/pve/gpu-intel.func)
|
||||
source <(wget -qO- https://github.com/--full/ProxmoxVED/raw/main/tools/pve/gpu-amd.func)
|
||||
source <(wget -qO- https://github.com/montagneid/ProxmoxVED/raw/main/tools/pve/gpu-nvidia.func)
|
||||
source <(wget -qO- https://github.com/montagneid/ProxmoxVED/raw/main/tools/pve/gpu-intel.func)
|
||||
source <(wget -qO- https://github.com/montagneid/ProxmoxVED/raw/main/tools/pve/gpu-amd.func)
|
||||
|
||||
function header_info() {
|
||||
clear
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Copyright (c) 2021-2026 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
# https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
|
||||
set -e
|
||||
YW=$(echo "\033[33m")
|
||||
@@ -113,7 +113,7 @@ cat <<EOF >/srv/esphome/start.sh
|
||||
# Copyright (c) 2021-2026 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
# https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
|
||||
source /srv/esphome/bin/activate
|
||||
esphome dashboard /srv/esphome/
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: GitHub Copilot
|
||||
# License: MIT | https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# License: MIT | https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
|
||||
set -eEuo pipefail
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# Author: BvdBerg01 | Co-Author: remz1337
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/--full/ProxmoxVED/refs/heads/main/misc/core.func)
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/montagneid/ProxmoxVED/refs/heads/main/misc/core.func)
|
||||
|
||||
# =============================================================================
|
||||
# CONFIGURATION VARIABLES
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Copyright (c) 2021-2026 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
# https://github.com/--full/ProxmoxVED/raw/main/LICENSE
|
||||
# https://github.com/montagneid/ProxmoxVED/raw/main/LICENSE
|
||||
|
||||
echo -e "\e[1;33m This script will allow USB passthrough to a PRIVILEGED LXC Container ONLY\e[0m"
|
||||
while true; do
|
||||
|
||||
Reference in New Issue
Block a user