From 0c4352671388e3959367f562cdbe0f67686421e5 Mon Sep 17 00:00:00 2001 From: knightfall Date: Fri, 10 Oct 2025 21:25:33 +1100 Subject: [PATCH] For testing --- ct/unifi.sh | 2 +- misc/alpine-install.func | 6 ++--- misc/api.func | 2 +- misc/build.func | 22 ++++++++-------- misc/core.func | 4 +-- misc/create_lxc.sh | 4 +-- misc/install.func | 10 +++---- tools/copy-data/README.md | 26 ++++++++++++------- ...iner-copy-data-home-assistant-container.sh | 2 +- ...container-copy-data-home-assistant-core.sh | 2 +- ...ntainer-copy-data-podman-home-assistant.sh | 2 +- ...core-copy-data-home-assistant-container.sh | 2 +- ...tant-core-copy-data-home-assistant-core.sh | 2 +- tools/copy-data/plex-copy-data-plex.sh | 2 +- ...tant-copy-data-home-assistant-container.sh | 2 +- tools/copy-data/z2m-copy-data-z2m.sh | 2 +- .../zwavejs2mqtt-copy-data-zwavejsui.sh | 2 +- tools/pve/cron-update-lxcs.sh | 4 +-- tools/pve/frigate-support.sh | 2 +- tools/pve/hw-acceleration.sh | 2 +- vm/archlinux-vm.sh | 4 +-- vm/debian-13-vm.sh | 4 +-- vm/debian-vm.sh | 4 +-- vm/docker-vm.sh | 4 +-- vm/haos-vm.sh | 4 +-- vm/mikrotik-routeros.sh | 4 +-- vm/nextcloud-vm.sh | 4 +-- vm/openwrt-vm.sh | 4 +-- vm/opnsense-vm.sh | 2 +- vm/owncloud-vm.sh | 4 +-- vm/pimox-haos-vm.sh | 4 +-- vm/ubuntu2204-vm.sh | 4 +-- vm/ubuntu2404-vm.sh | 4 +-- vm/ubuntu2504-vm.sh | 4 +-- vm/umbrel-os-vm.sh | 4 +-- 35 files changed, 84 insertions(+), 76 deletions(-) diff --git a/ct/unifi.sh b/ct/unifi.sh index 1cc948e49..3addfb76b 100644 --- a/ct/unifi.sh +++ b/ct/unifi.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://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/misc/alpine-install.func b/misc/alpine-install.func index c8f4ee0fc..031efcc3b 100644 --- a/misc/alpine-install.func +++ b/misc/alpine-install.func @@ -6,7 +6,7 @@ if ! command -v curl >/dev/null 2>&1; then apk update && apk add 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/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/core.func) load_functions # This function enables IPv6 if it's not disabled and sets verbose mode @@ -82,7 +82,7 @@ network_check() { update_os() { msg_info "Updating Container OS" $STD apk -U upgrade - source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func) + source <(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/tools.func) msg_ok "Updated Container OS" } @@ -151,7 +151,7 @@ EOF 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://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/ct/${app}.sh)\"" >/usr/bin/update chmod +x /usr/bin/update if [[ -n "${SSH_AUTHORIZED_KEY}" ]]; then diff --git a/misc/api.func b/misc/api.func index 29290762c..e019cb536 100644 --- a/misc/api.func +++ b/misc/api.func @@ -1,6 +1,6 @@ # Copyright (c) 2021-2025 community-scripts ORG # Author: michelroegl-brunner -# License: MIT | https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/LICENSE +# License: MIT | https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/LICENSE post_to_api() { diff --git a/misc/build.func b/misc/build.func index dd7d87f4f..fba53f893 100644 --- a/misc/build.func +++ b/misc/build.func @@ -15,13 +15,13 @@ variables() { CT_TYPE=${var_unprivileged:-$CT_TYPE} } -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source <(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/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/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/core.func) load_functions 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/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/core.func) load_functions fi # This function enables error handling in the script by setting options and defining a trap for the ERR signal. @@ -32,7 +32,7 @@ catch_errors() { # This function is called when an error occurs. It receives the exit code, line number, and command that caused the error, and displays an error message. error_handler() { - source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) + source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) printf "\e[?25h" local exit_code="$?" local line_number="$1" @@ -980,7 +980,7 @@ install_script() { header_info echo -e "${INFO}${HOLD} ${GN}Using Config File on node $PVEHOST_NAME${CL}" METHOD="config_file" - source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/config-file.func) + source <(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/config-file.func) config_file break ;; @@ -1051,7 +1051,7 @@ check_container_storage() { } start() { - source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func) + source <(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/tools.func) if command -v pveversion >/dev/null 2>&1; then install_script else @@ -1112,9 +1112,9 @@ build_container() { TEMP_DIR=$(mktemp -d) pushd "$TEMP_DIR" >/dev/null if [ "$var_os" == "alpine" ]; then - export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/alpine-install.func)" + export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/alpine-install.func)" else - export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/install.func)" + export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/install.func)" fi export DIAGNOSTICS="$DIAGNOSTICS" @@ -1149,7 +1149,7 @@ build_container() { $PW " # This executes create_lxc.sh and creates the container and .conf file - bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" $? + bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/create_lxc.sh)" $? LXC_CONFIG="/etc/pve/lxc/${CTID}.conf" @@ -1342,7 +1342,7 @@ EOF' fi msg_ok "Customized LXC Container" - 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://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/install/"${var_install}".sh)" } # This function sets the description of the container. @@ -1354,7 +1354,7 @@ description() { cat < - Logo + Logo

${APP} LXC

diff --git a/misc/core.func b/misc/core.func index 71c13764f..9886627bf 100644 --- a/misc/core.func +++ b/misc/core.func @@ -1,5 +1,5 @@ # Copyright (c) 2021-2025 community-scripts ORG -# License: MIT | https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/LICENSE +# License: MIT | https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/LICENSE # ------------------------------------------------------------------------------ # Loads core utility groups once (colors, formatting, icons, defaults). @@ -163,7 +163,7 @@ silent() { get_header() { local app_name=$(echo "${APP,,}" | tr -d ' ') local app_type=${APP_TYPE:-ct} - local header_url="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/${app_type}/headers/${app_name}" + local header_url="https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/${app_type}/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/create_lxc.sh b/misc/create_lxc.sh index 3414f8559..7040973c3 100644 --- a/misc/create_lxc.sh +++ b/misc/create_lxc.sh @@ -9,11 +9,11 @@ # if [ "$VERBOSE" == "yes" ]; then set -x; fi 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/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/core.func) load_functions #echo "(create-lxc.sh) Loaded core.func via curl" 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/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/core.func) load_functions #echo "(create-lxc.sh) Loaded core.func via wget" fi diff --git a/misc/install.func b/misc/install.func index 15771cf8e..aca584293 100644 --- a/misc/install.func +++ b/misc/install.func @@ -9,7 +9,7 @@ if ! command -v curl >/dev/null 2>&1; then apt-get update >/dev/null 2>&1 apt-get 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/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/core.func) load_functions # This function enables IPv6 if it's not disabled and sets verbose mode verb_ip6() { @@ -29,7 +29,7 @@ catch_errors() { # This function handles errors error_handler() { - source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) + source <(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) printf "\e[?25h" local exit_code="$?" local line_number="$1" @@ -52,7 +52,7 @@ setting_up_container() { break fi echo 1>&2 -en "${CROSS}${RD} No Network! " - sleep $RETRY_EVERY + sleep "$RETRY_EVERY" done if [ "$(hostname -I)" = "" ]; then echo 1>&2 -e "\n${CROSS}${RD} No Network After $RETRY_NUM Tries${CL}" @@ -147,7 +147,7 @@ EOF rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Container OS" - source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func) + source <(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/tools.func) } # This function modifies the message of the day (motd) and SSH settings @@ -197,7 +197,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://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/ct/${app}.sh)\"" >/usr/bin/update chmod +x /usr/bin/update if [[ -n "${SSH_AUTHORIZED_KEY}" ]]; then diff --git a/tools/copy-data/README.md b/tools/copy-data/README.md index 931c87125..9d10e3434 100644 --- a/tools/copy-data/README.md +++ b/tools/copy-data/README.md @@ -2,45 +2,53 @@
To copy data from Home Assistant Container to Home Assistant Container
``` -bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/copy-data/home-assistant-container-copy-data-home-assistant-container.sh)" +bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/copy-data/home-assistant-container-copy-data-home-assistant-container.sh)" ``` +
To copy data from Home Assistant Container to Home Assistant Core
``` -bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/copy-data/home-assistant-container-copy-data-home-assistant-core.sh)" +bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/copy-data/home-assistant-container-copy-data-home-assistant-core.sh)" ``` +
To copy data from Home Assistant Container to Podman Home Assistant
``` -bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/copy-data/home-assistant-container-copy-data-podman-home-assistant.sh)" +bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/copy-data/home-assistant-container-copy-data-podman-home-assistant.sh)" ``` +
To copy data from Podman Home Assistant to Home Assistant Container
``` -bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/copy-data/podman-home-assistant-copy-data-home-assistant-container.sh)" +bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/copy-data/podman-home-assistant-copy-data-home-assistant-container.sh)" ``` +
To copy data from Home Assistant Core to Home Assistant Container
``` -bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/copy-data/home-assistant-core-copy-data-home-assistant-container.sh)" +bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/copy-data/home-assistant-core-copy-data-home-assistant-container.sh)" ``` +
To copy data from Home Assistant Core to Home Assistant Core
``` -bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/copy-data/home-assistant-core-copy-data-home-assistant-core.sh)" +bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/copy-data/home-assistant-core-copy-data-home-assistant-core.sh)" ``` +
To copy data from Plex to Plex
``` -bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/copy-data/plex-copy-data-plex.sh)" +bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/copy-data/plex-copy-data-plex.sh)" ``` +
To copy data from Zigbee2MQTT to Zigbee2MQTT
``` -bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/copy-data/z2m-copy-data-z2m.sh)" +bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/copy-data/z2m-copy-data-z2m.sh)" ``` +
To copy data from Zwavejs2MQTT to Zwave JS UI
``` -bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh)" +bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh)" ``` diff --git a/tools/copy-data/home-assistant-container-copy-data-home-assistant-container.sh b/tools/copy-data/home-assistant-container-copy-data-home-assistant-container.sh index acf2b380a..59d26e1ab 100644 --- a/tools/copy-data/home-assistant-container-copy-data-home-assistant-container.sh +++ b/tools/copy-data/home-assistant-container-copy-data-home-assistant-container.sh @@ -128,4 +128,4 @@ info "Successfully Transferred Data." # Use to copy all data from one Home Assistant LXC to another # run from the Proxmox Shell -# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/mainmain/tools/copy-data//home-assistant-container-copy-data-home-assistant-container.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fixmain/tools/copy-data//home-assistant-container-copy-data-home-assistant-container.sh)" diff --git a/tools/copy-data/home-assistant-container-copy-data-home-assistant-core.sh b/tools/copy-data/home-assistant-container-copy-data-home-assistant-core.sh index cea3814c8..61aad51f5 100644 --- a/tools/copy-data/home-assistant-container-copy-data-home-assistant-core.sh +++ b/tools/copy-data/home-assistant-container-copy-data-home-assistant-core.sh @@ -124,4 +124,4 @@ info "Successfully Transferred Data." # Use to copy all data from a Home Assistant Container LXC to a Home Assistant Core LXC # run from the Proxmox Shell -# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/mainmain/tools/copy-data//home-assistant-container-copy-data-home-assistant-core.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fixmain/tools/copy-data//home-assistant-container-copy-data-home-assistant-core.sh)" diff --git a/tools/copy-data/home-assistant-container-copy-data-podman-home-assistant.sh b/tools/copy-data/home-assistant-container-copy-data-podman-home-assistant.sh index 9f13acca6..7719cbee4 100644 --- a/tools/copy-data/home-assistant-container-copy-data-podman-home-assistant.sh +++ b/tools/copy-data/home-assistant-container-copy-data-podman-home-assistant.sh @@ -129,4 +129,4 @@ info "Successfully Transferred Data." # Use to copy all data from a Home Assistant LXC to a Podman Home Assistant LXC # run from the Proxmox Shell -# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/mainmain/tools/copy-data//home-assistant-container-copy-data-podman-home-assistant.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fixmain/tools/copy-data//home-assistant-container-copy-data-podman-home-assistant.sh)" diff --git a/tools/copy-data/home-assistant-core-copy-data-home-assistant-container.sh b/tools/copy-data/home-assistant-core-copy-data-home-assistant-container.sh index 25591ae2d..f0d5a8364 100644 --- a/tools/copy-data/home-assistant-core-copy-data-home-assistant-container.sh +++ b/tools/copy-data/home-assistant-core-copy-data-home-assistant-container.sh @@ -124,4 +124,4 @@ info "Successfully Transferred Data." # Use to copy all data from a Home Assistant Core LXC to a Home Assistant Container LXC # run from the Proxmox Shell -# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/mainmain/tools/copy-data//home-assistant-core-copy-data-home-assistant-container.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fixmain/tools/copy-data//home-assistant-core-copy-data-home-assistant-container.sh)" diff --git a/tools/copy-data/home-assistant-core-copy-data-home-assistant-core.sh b/tools/copy-data/home-assistant-core-copy-data-home-assistant-core.sh index 30347709a..b2247cf81 100644 --- a/tools/copy-data/home-assistant-core-copy-data-home-assistant-core.sh +++ b/tools/copy-data/home-assistant-core-copy-data-home-assistant-core.sh @@ -123,4 +123,4 @@ info "Successfully Transferred Data." # Use to copy all data from a Home Assistant Core LXC to a Home Assistant Container LXC # run from the Proxmox Shell -# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/mainmain/tools/copy-data//home-assistant-core-copy-data-home-assistant-core.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fixmain/tools/copy-data//home-assistant-core-copy-data-home-assistant-core.sh)" diff --git a/tools/copy-data/plex-copy-data-plex.sh b/tools/copy-data/plex-copy-data-plex.sh index 987eda933..c1b9df421 100644 --- a/tools/copy-data/plex-copy-data-plex.sh +++ b/tools/copy-data/plex-copy-data-plex.sh @@ -128,4 +128,4 @@ info "Successfully Transferred Data." # Use to copy all data from one Plex Media Server LXC to another # run from the Proxmox Shell -# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/mainmain/tools/copy-data//plex-copy-data-plex.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fixmain/tools/copy-data//plex-copy-data-plex.sh)" diff --git a/tools/copy-data/podman-home-assistant-copy-data-home-assistant-container.sh b/tools/copy-data/podman-home-assistant-copy-data-home-assistant-container.sh index a0aef23e8..d44abf268 100644 --- a/tools/copy-data/podman-home-assistant-copy-data-home-assistant-container.sh +++ b/tools/copy-data/podman-home-assistant-copy-data-home-assistant-container.sh @@ -129,4 +129,4 @@ info "Successfully Transferred Data." # Use to copy all data from a Podman Home Assistant LXC to a Docker Home Assistant LXC. # run from the Proxmox Shell -# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/mainmain/tools/copy-data//podman-home-assistant-copy-data-home-assistant-container.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fixmain/tools/copy-data//podman-home-assistant-copy-data-home-assistant-container.sh)" diff --git a/tools/copy-data/z2m-copy-data-z2m.sh b/tools/copy-data/z2m-copy-data-z2m.sh index 785251bc0..c2f908cc9 100644 --- a/tools/copy-data/z2m-copy-data-z2m.sh +++ b/tools/copy-data/z2m-copy-data-z2m.sh @@ -128,4 +128,4 @@ info "Successfully Transferred Data." # Use to copy all data from one Zigbee2MQTT LXC to another # run from the Proxmox Shell -# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/mainmain/tools/copy-data//z2m-copy-data-z2m.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fixmain/tools/copy-data//z2m-copy-data-z2m.sh)" diff --git a/tools/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh b/tools/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh index af39a58ff..ebdb08bd0 100644 --- a/tools/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh +++ b/tools/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh @@ -130,4 +130,4 @@ info "Successfully Transferred Data." # Use to copy all data from a Zwavejs2MQTT LXC to a Z-wave JS UI LXC # run from the Proxmox Shell -# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/mainmain/tools/copy-data//zwavejs2mqtt-copy-data-zwavejsui.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fixmain/tools/copy-data//zwavejs2mqtt-copy-data-zwavejsui.sh)" diff --git a/tools/pve/cron-update-lxcs.sh b/tools/pve/cron-update-lxcs.sh index 6d6fb3c51..c2c263923 100644 --- a/tools/pve/cron-update-lxcs.sh +++ b/tools/pve/cron-update-lxcs.sh @@ -4,7 +4,7 @@ # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/cron-update-lxcs.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/pve/cron-update-lxcs.sh)" clear cat <<"EOF" @@ -25,7 +25,7 @@ add() { *) echo "Please answer yes or no." ;; esac done - sh -c '(crontab -l -u root 2>/dev/null; echo "0 0 * * 0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/update-lxcs-cron.sh)\" >>/var/log/update-lxcs-cron.log 2>/dev/null") | crontab -u root -' + sh -c '(crontab -l -u root 2>/dev/null; echo "0 0 * * 0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/pve/update-lxcs-cron.sh)\" >>/var/log/update-lxcs-cron.log 2>/dev/null") | crontab -u root -' clear echo -e "\n To view Cron Update LXCs logs: cat /var/log/update-lxcs-cron.log" } diff --git a/tools/pve/frigate-support.sh b/tools/pve/frigate-support.sh index 5c8ec6bff..ad2b4cd6f 100644 --- a/tools/pve/frigate-support.sh +++ b/tools/pve/frigate-support.sh @@ -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://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/frigate-support.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/pve/frigate-support.sh)" # Reboot the LXC to apply the changes diff --git a/tools/pve/hw-acceleration.sh b/tools/pve/hw-acceleration.sh index 996fa1c53..995075f69 100644 --- a/tools/pve/hw-acceleration.sh +++ b/tools/pve/hw-acceleration.sh @@ -5,7 +5,7 @@ # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Execute within the Proxmox shell -# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/hw-acceleration.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/tools/pve/hw-acceleration.sh)" set -e function header_info { diff --git a/vm/archlinux-vm.sh b/vm/archlinux-vm.sh index a0689b998..c40a7904d 100644 --- a/vm/archlinux-vm.sh +++ b/vm/archlinux-vm.sh @@ -4,7 +4,7 @@ # Author: MickLesk (CanbiZ) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -508,7 +508,7 @@ DESCRIPTION=$( cat < - Logo + Logo

Arch Linux VM

diff --git a/vm/debian-13-vm.sh b/vm/debian-13-vm.sh index 05aa50bcd..2929e8465 100644 --- a/vm/debian-13-vm.sh +++ b/vm/debian-13-vm.sh @@ -4,7 +4,7 @@ # Author: MickLesk (CanbiZ) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -531,7 +531,7 @@ DESCRIPTION=$( cat < - Logo + Logo

Debian VM

diff --git a/vm/debian-vm.sh b/vm/debian-vm.sh index 7773e6992..be401c766 100644 --- a/vm/debian-vm.sh +++ b/vm/debian-vm.sh @@ -4,7 +4,7 @@ # Author: MickLesk (CanbiZ) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -531,7 +531,7 @@ DESCRIPTION=$( cat < - Logo + Logo

Debian VM

diff --git a/vm/docker-vm.sh b/vm/docker-vm.sh index 2cb92d934..562121127 100644 --- a/vm/docker-vm.sh +++ b/vm/docker-vm.sh @@ -4,7 +4,7 @@ # Author: thost96 (thost96) | Co-Author: michelroegl-brunner # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info() { clear @@ -533,7 +533,7 @@ DESCRIPTION=$( cat < - Logo + Logo

Docker VM

diff --git a/vm/haos-vm.sh b/vm/haos-vm.sh index 2e0668e47..00c290856 100644 --- a/vm/haos-vm.sh +++ b/vm/haos-vm.sh @@ -4,7 +4,7 @@ # Author: tteck (tteckster) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -606,7 +606,7 @@ DESCRIPTION=$( cat < - Logo + Logo

Homeassistant OS VM

diff --git a/vm/mikrotik-routeros.sh b/vm/mikrotik-routeros.sh index 942c9976e..3ecc34b28 100644 --- a/vm/mikrotik-routeros.sh +++ b/vm/mikrotik-routeros.sh @@ -5,7 +5,7 @@ # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -554,7 +554,7 @@ DESCRIPTION=$( cat < - Logo + Logo

Mikrotik RouterOS CHR

diff --git a/vm/nextcloud-vm.sh b/vm/nextcloud-vm.sh index 7bf3524bd..ef0a80854 100644 --- a/vm/nextcloud-vm.sh +++ b/vm/nextcloud-vm.sh @@ -5,7 +5,7 @@ # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -509,7 +509,7 @@ DESCRIPTION=$( cat < - Logo + Logo

Nextcloud VM

diff --git a/vm/openwrt-vm.sh b/vm/openwrt-vm.sh index da50011ff..ac27ebfb8 100644 --- a/vm/openwrt-vm.sh +++ b/vm/openwrt-vm.sh @@ -7,7 +7,7 @@ # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Based on work from https://i12bretro.github.io/tutorials/0405.html -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -561,7 +561,7 @@ DESCRIPTION=$( cat < - Logo + Logo

OpenWrt VM

diff --git a/vm/opnsense-vm.sh b/vm/opnsense-vm.sh index 7ddd6acc4..ee6a108b7 100644 --- a/vm/opnsense-vm.sh +++ b/vm/opnsense-vm.sh @@ -4,7 +4,7 @@ # Author: michelroegl-brunner # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear diff --git a/vm/owncloud-vm.sh b/vm/owncloud-vm.sh index 8d17ff152..2e0d18374 100644 --- a/vm/owncloud-vm.sh +++ b/vm/owncloud-vm.sh @@ -5,7 +5,7 @@ # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -523,7 +523,7 @@ DESCRIPTION=$( cat < - Logo + Logo

Owncloud VM

diff --git a/vm/pimox-haos-vm.sh b/vm/pimox-haos-vm.sh index f69d9a7b4..84e259d39 100644 --- a/vm/pimox-haos-vm.sh +++ b/vm/pimox-haos-vm.sh @@ -5,7 +5,7 @@ # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { cat <<"EOF" @@ -424,7 +424,7 @@ DESCRIPTION=$( cat < - Logo + Logo

Homeassistant VM

diff --git a/vm/ubuntu2204-vm.sh b/vm/ubuntu2204-vm.sh index 44b4b0395..210ac9429 100644 --- a/vm/ubuntu2204-vm.sh +++ b/vm/ubuntu2204-vm.sh @@ -4,7 +4,7 @@ # Author: MickLesk (CanbiZ) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -504,7 +504,7 @@ DESCRIPTION=$( cat < - Logo + Logo

ubuntu VM

diff --git a/vm/ubuntu2404-vm.sh b/vm/ubuntu2404-vm.sh index 37914773b..f66677831 100644 --- a/vm/ubuntu2404-vm.sh +++ b/vm/ubuntu2404-vm.sh @@ -5,7 +5,7 @@ # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -506,7 +506,7 @@ DESCRIPTION=$( cat < - Logo + Logo

ubuntu VM

diff --git a/vm/ubuntu2504-vm.sh b/vm/ubuntu2504-vm.sh index c5d431f6f..988b2f4b6 100644 --- a/vm/ubuntu2504-vm.sh +++ b/vm/ubuntu2504-vm.sh @@ -4,7 +4,7 @@ # Author: MickLesk (CanbiZ) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -505,7 +505,7 @@ DESCRIPTION=$( cat < - Logo + Logo

ubuntu VM

diff --git a/vm/umbrel-os-vm.sh b/vm/umbrel-os-vm.sh index 06e8e9e63..3bd8d24d9 100644 --- a/vm/umbrel-os-vm.sh +++ b/vm/umbrel-os-vm.sh @@ -4,7 +4,7 @@ # Author: MickLesk (CanbiZ) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/knightfall/ProxmoxVE/refs/heads/unifi-sh-fix/misc/api.func) function header_info { clear @@ -557,7 +557,7 @@ DESCRIPTION=$( cat < - Logo + Logo

Umbrel OS VM