Skip to content

Commit 606ecf2

Browse files
committed
edit func paths
1 parent a7014e4 commit 606ecf2

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

ct/karakeep.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
2+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/build.func)
33
# Copyright (c) 2021-2025 tteck
44
# Author: MickLesk (Canbiz) & vhsdream
55
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE

misc/build.func

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ variables() {
1515
CT_TYPE=${var_unprivileged:-$CT_TYPE}
1616
}
1717

18-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
18+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/api.func)
1919

2020
if command -v curl >/dev/null 2>&1; then
21-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)
21+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/core.func)
2222
load_functions
2323
elif command -v wget >/dev/null 2>&1; then
24-
source <(wget -qO- https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)
24+
source <(wget -qO- https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/core.func)
2525
load_functions
2626
fi
2727
# 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() {
3232

3333
# 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.
3434
error_handler() {
35-
source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
35+
source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/api.func)
3636
printf "\e[?25h"
3737
local exit_code="$?"
3838
local line_number="$1"
@@ -920,7 +920,7 @@ install_script() {
920920
header_info
921921
echo -e "${INFO}${HOLD} ${GN}Using Config File on node $PVEHOST_NAME${CL}"
922922
METHOD="config_file"
923-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/config-file.func)
923+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/config-file.func)
924924
config_file
925925
break
926926
;;
@@ -993,7 +993,7 @@ check_container_storage() {
993993
}
994994

995995
start() {
996-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
996+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/tools.func)
997997
if command -v pveversion >/dev/null 2>&1; then
998998
install_script
999999
else
@@ -1054,9 +1054,9 @@ build_container() {
10541054
TEMP_DIR=$(mktemp -d)
10551055
pushd "$TEMP_DIR" >/dev/null
10561056
if [ "$var_os" == "alpine" ]; then
1057-
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/alpine-install.func)"
1057+
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/alpine-install.func)"
10581058
else
1059-
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/install.func)"
1059+
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/install.func)"
10601060
fi
10611061

10621062
export DIAGNOSTICS="$DIAGNOSTICS"
@@ -1092,7 +1092,7 @@ build_container() {
10921092
$PW
10931093
"
10941094
# This executes create_lxc.sh and creates the container and .conf file
1095-
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" $?
1095+
bash -c "$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/create_lxc.sh)" $?
10961096

10971097
LXC_CONFIG="/etc/pve/lxc/${CTID}.conf"
10981098

@@ -1246,7 +1246,7 @@ EOF'
12461246
fi
12471247
msg_ok "Customized LXC Container"
12481248

1249-
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?
1249+
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/install/"$var_install".sh)" $?
12501250
}
12511251

12521252
# This function sets the description of the container.

misc/install.func

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if ! command -v curl >/dev/null 2>&1; then
99
apt-get update >/dev/null 2>&1
1010
apt-get install -y curl >/dev/null 2>&1
1111
fi
12-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)
12+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/core.func)
1313
load_functions
1414
# This function enables IPv6 if it's not disabled and sets verbose mode
1515
verb_ip6() {
@@ -29,7 +29,7 @@ catch_errors() {
2929

3030
# This function handles errors
3131
error_handler() {
32-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
32+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/api.func)
3333
printf "\e[?25h"
3434
local exit_code="$?"
3535
local line_number="$1"
@@ -147,7 +147,7 @@ EOF
147147
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
148148
msg_ok "Updated Container OS"
149149

150-
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
150+
source <(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/misc/tools.func)
151151
}
152152

153153
# This function modifies the message of the day (motd) and SSH settings
@@ -197,7 +197,7 @@ EOF
197197
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
198198
msg_ok "Customized Container"
199199
fi
200-
echo "bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/${app}.sh)\"" >/usr/bin/update
200+
echo "bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/vhsdream/ProxmoxVE/refs/heads/karakeep/ct/${app}.sh)\"" >/usr/bin/update
201201
chmod +x /usr/bin/update
202202

203203
if [[ -n "${SSH_AUTHORIZED_KEY}" ]]; then

0 commit comments

Comments
 (0)