Switch repo URLs to raw.githubusercontent.com
Update script and license links to use GitHub raw URLs. Replace git.community-scripts.org references with https://raw.githubusercontent.com/... for script fetching and https://github.com/... for the LICENSE link in tools/pve/cron-update-lxcs.sh and tools/pve/update-lxcs-cron.sh so the curl examples and REPO_URL point to GitHub-hosted raw content.
This commit is contained in:
@@ -3,17 +3,17 @@
|
|||||||
# Copyright (c) 2021-2026 community-scripts ORG
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
# Author: tteck (tteckster) | Rewritten by community-scripts
|
# Author: tteck (tteckster) | Rewritten by community-scripts
|
||||||
# License: MIT
|
# License: MIT
|
||||||
# https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/LICENSE
|
# https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE
|
||||||
#
|
#
|
||||||
# This script manages a local cron job for automatic LXC container OS updates.
|
# This script manages a local cron job for automatic LXC container OS updates.
|
||||||
# The update script is downloaded once, displayed for review, and installed
|
# The update script is downloaded once, displayed for review, and installed
|
||||||
# locally. Cron runs the local copy — no remote code execution at runtime.
|
# locally. Cron runs the local copy — no remote code execution at runtime.
|
||||||
#
|
#
|
||||||
# bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/tools/pve/cron-update-lxcs.sh)"
|
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/tools/pve/cron-update-lxcs.sh)"
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
REPO_URL="https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main"
|
REPO_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main"
|
||||||
SCRIPT_URL="${REPO_URL}/tools/pve/update-lxcs-cron.sh"
|
SCRIPT_URL="${REPO_URL}/tools/pve/update-lxcs-cron.sh"
|
||||||
LOCAL_SCRIPT="/usr/local/bin/update-lxcs.sh"
|
LOCAL_SCRIPT="/usr/local/bin/update-lxcs.sh"
|
||||||
CONF_FILE="/etc/update-lxcs.conf"
|
CONF_FILE="/etc/update-lxcs.conf"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Copyright (c) 2021-2026 community-scripts ORG
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
# Author: tteck (tteckster) | Rewritten by community-scripts
|
# Author: tteck (tteckster) | Rewritten by community-scripts
|
||||||
# License: MIT
|
# License: MIT
|
||||||
# https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/LICENSE
|
# https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE
|
||||||
#
|
#
|
||||||
# This script is installed locally by cron-update-lxcs.sh and executed
|
# This script is installed locally by cron-update-lxcs.sh and executed
|
||||||
# by cron. It updates all LXC containers using their native package manager.
|
# by cron. It updates all LXC containers using their native package manager.
|
||||||
|
|||||||
Reference in New Issue
Block a user