From 9042cb5df0cb3fd901ec070fc727893c5fb7d693 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 16 Mar 2026 14:54:08 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor:=20Presmerovanie?= =?UTF-8?q?=20v=C5=A1etk=C3=BDch=20URL=20z=20community-scripts=20na=20vlas?= =?UTF-8?q?tn=C3=BD=20git=20(git.inbox.sk)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Všetky curl/wget referencie na raw.githubusercontent.com/community-scripts/ProxmoxVE prepísané na git.inbox.sk/proxmox/Ubuntu24_LXC. Stiahnutý aj logo obrázok. Co-Authored-By: Claude Opus 4.6 (1M context) --- ct/ubuntu.sh | 2 +- misc/build.func | 24 ++++++++++++------------ misc/core.func | 6 +++--- misc/images/logo-81x112.png | Bin 0 -> 5483 bytes misc/install.func | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 misc/images/logo-81x112.png diff --git a/ct/ubuntu.sh b/ct/ubuntu.sh index 9314cbe..77f836e 100644 --- a/ct/ubuntu.sh +++ b/ct/ubuntu.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +source <(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/build.func) # Copyright (c) 2021-2026 tteck # Author: tteck (tteckster) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/misc/build.func b/misc/build.func index 97eb927..cff2789 100644 --- a/misc/build.func +++ b/misc/build.func @@ -83,16 +83,16 @@ variables() { fi } -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source <(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/api.func) if command -v curl >/dev/null 2>&1; then - source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func) - source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/error_handler.func) + source <(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/core.func) + source <(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/error_handler.func) load_functions catch_errors elif command -v wget >/dev/null 2>&1; then - source <(wget -qO- https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func) - source <(wget -qO- https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/error_handler.func) + source <(wget -qO- https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/core.func) + source <(wget -qO- https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/error_handler.func) load_functions catch_errors fi @@ -3437,7 +3437,7 @@ msg_menu() { # - Otherwise: shows update/setting menu and runs update_script with cleanup # ------------------------------------------------------------------------------ start() { - source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func) + source <(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/tools.func) if command -v pveversion >/dev/null 2>&1; then install_script || return 0 return 0 @@ -3572,9 +3572,9 @@ build_container() { pushd "$TEMP_DIR" >/dev/null local _func_url if [ "$var_os" == "alpine" ]; then - _func_url="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/alpine-install.func" + _func_url="https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/alpine-install.func" else - _func_url="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/install.func" + _func_url="https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/install.func" fi export FUNCTIONS_FILE_PATH="$(curl -fsSL "$_func_url")" if [[ -z "$FUNCTIONS_FILE_PATH" || ${#FUNCTIONS_FILE_PATH} -lt 100 ]]; then @@ -4128,7 +4128,7 @@ EOF' # that sends "configuring" status AFTER the host already reported "failed" export CONTAINER_INSTALLING=true - lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)" + lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/install/${var_install}.sh)" local lxc_exit=$? unset CONTAINER_INSTALLING @@ -4434,7 +4434,7 @@ EOF' if [[ "${DEV_MODE_MOTD:-false}" == "true" ]]; then echo -e "${TAB}${HOLD}${DGN}Setting up MOTD and SSH for debugging...${CL}" if pct exec "$CTID" -- bash -c " - source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/install.func) + source <(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/install.func) declare -f motd_ssh >/dev/null 2>&1 && motd_ssh || true " >/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) @@ -4506,7 +4506,7 @@ EOF' # Re-run install script in existing container (don't destroy/recreate) set +Eeuo pipefail trap - ERR - lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)" + lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/install/${var_install}.sh)" local apt_retry_exit=$? set -Eeuo pipefail trap 'error_handler' ERR @@ -5665,7 +5665,7 @@ description() { cat < - Logo + Logo

${APP} LXC

diff --git a/misc/core.func b/misc/core.func index e3b9d2c..862a438 100644 --- a/misc/core.func +++ b/misc/core.func @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) 2021-2026 community-scripts ORG -# License: MIT | https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/LICENSE +# License: MIT | https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/LICENSE # ============================================================================== # CORE FUNCTIONS - LXC CONTAINER UTILITIES @@ -529,7 +529,7 @@ silent() { if [[ $rc -ne 0 ]]; then # Source explain_exit_code if needed if ! declare -f explain_exit_code >/dev/null 2>&1; then - if ! source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/error_handler.func); then + if ! source <(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/error_handler.func); then explain_exit_code() { echo "unknown (error_handler.func download failed)"; } fi fi @@ -850,7 +850,7 @@ get_header() { local app_type=${APP_TYPE:-ct} # Default to 'ct' if not set local header_dir="${app_type}" [[ "$app_type" == "addon" ]] && header_dir="tools" - local header_url="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/${header_dir}/headers/${app_name}" + local header_url="https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/${header_dir}/headers/${app_name}" local local_header_path="/usr/local/community-scripts/headers/${app_type}/${app_name}" mkdir -p "$(dirname "$local_header_path")" diff --git a/misc/images/logo-81x112.png b/misc/images/logo-81x112.png new file mode 100644 index 0000000000000000000000000000000000000000..04bcb8d11c300e0ce0857a7060d6d2bcc5b0e17c GIT binary patch literal 5483 zcmV-x6_o0UP)Px~B}qg1P=Npmp@e2I2#AP^7dxQx*-*rS zfuIQXtGB3Ed}=_XB!o1YV5M80*DH3oLI~-EkUBG`?Dy?683-Yn*=I6I#_whS1>dZ_ z_FBKQ*4k^YT|&^&T8sc`F^6_!uyS91+*2ca|40a_Y)3Khrv>qqgC(OL&-r1Gwqkq; zA*8AUM1u&d{;_KOytHpW0nDJw;yOSyh#yiu`y(OclVhJr<^U*~%0LVzgj5^l<4yWM zl{>$%zaa7H9l!6;BneO{K!gqujab8Td-AVK{_;c)WCfrCKr{ei2Z+2NzILc!#-eRU zG8k;k`p&fuOXR|E>8_(QpWSyd9fAm`3`E)iA{TP?M2~I%?S@zPpV$mB5TJH|un^ub zjO&)zF*`R0>dL+OcRao8_YX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EV*=>@e-InxiR_t}N9W%cKnQ7*_h3B*&L?A{z9*vT0QwO^_+EVT1_EB-(e9S`)|%Af zYMZS)d*|!X`M&$te|)x_j=Q&H|mlw!bB&rWW6K`|V+E{YtwRy!b4O hb_da$%Cr}+{{zVI8tIv*u`vJu002ovPDHLkV1mrpnQH(5 literal 0 HcmV?d00001 diff --git a/misc/install.func b/misc/install.func index 94f005b..d542179 100644 --- a/misc/install.func +++ b/misc/install.func @@ -32,8 +32,8 @@ if ! command -v curl >/dev/null 2>&1; then apt update >/dev/null 2>&1 apt install -y curl >/dev/null 2>&1 fi -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func) -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/error_handler.func) +source <(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/core.func) +source <(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/error_handler.func) load_functions catch_errors @@ -240,7 +240,7 @@ EOF post_progress_to_api local tools_content - tools_content=$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func) || { + tools_content=$(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/misc/tools.func) || { msg_error "Failed to download tools.func" exit 115 } @@ -319,7 +319,7 @@ EOF systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') msg_ok "Customized Container" fi - echo "bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/${app}.sh)\"" >/usr/bin/update + echo "bash -c \"\$(curl -fsSL https://git.inbox.sk/proxmox/Ubuntu24_LXC/raw/branch/main/ct/${app}.sh)\"" >/usr/bin/update chmod +x /usr/bin/update if [[ -n "${SSH_AUTHORIZED_KEY}" ]]; then