From d3de5b369f48be376b541f8d8c7f388e8b99e8e6 Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Mon, 8 Apr 2024 12:28:05 +1000 Subject: [PATCH] fixups to pull from GitHub and not local --- ct/radarr.sh | 2 +- misc/build.func | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/radarr.sh b/ct/radarr.sh index 1df77b85a..afe1bdfa1 100644 --- a/ct/radarr.sh +++ b/ct/radarr.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source ./build.func +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/misc/build.func b/misc/build.func index bf0234b04..6517cbd97 100644 --- a/misc/build.func +++ b/misc/build.func @@ -539,7 +539,7 @@ build_container() { $PW " # This executes create_lxc.sh and creates the container and .conf file - bash /root/create_lxc.sh || exit + bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh)" || exit LXC_CONFIG=/etc/pve/lxc/${CTID}.conf if [ "$CT_TYPE" == "0" ]; then @@ -583,7 +583,7 @@ http://dl-cdn.alpinelinux.org/alpine/latest-stable/community EOF' pct exec "$CTID" -- ash -c "apk add bash >/dev/null" fi - lxc-attach -n "$CTID" -- bash "/root/$var_install.sh" || exit + lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit }