@ -537,9 +537,9 @@ build_container() {
TEMP_DIR=$(mktemp -d)
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
pushd $TEMP_DIR >/dev/null
if [ "$var_os" == "alpine" ]; then
if [ "$var_os" == "alpine" ]; then
export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/dsiebel/Proxmox/zoraxy-prebuilt /misc/alpine-install.func)"
export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main /misc/alpine-install.func)"
else
else
export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/dsiebel/Proxmox/zoraxy-prebuilt /misc/install.func)"
export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main /misc/install.func)"
fi
fi
export CACHER="$APT_CACHER"
export CACHER="$APT_CACHER"
export CACHER_IP="$APT_CACHER_IP"
export CACHER_IP="$APT_CACHER_IP"
@ -569,7 +569,7 @@ build_container() {
$PW
$PW
"
"
# This executes create_lxc.sh and creates the container and .conf file
# This executes create_lxc.sh and creates the container and .conf file
bash -c "$(wget -qLO - https://raw.githubusercontent.com/dsiebel/Proxmox/zoraxy-prebuilt /ct/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
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
if [ "$CT_TYPE" == "0" ]; then
if [ "$CT_TYPE" == "0" ]; then
@ -633,7 +633,7 @@ http://dl-cdn.alpinelinux.org/alpine/latest-stable/community
EOF'
EOF'
pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
fi
fi
lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/dsiebel/Proxmox/zoraxy-prebuilt /install/$var_install.sh)" || exit
lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main /install/$var_install.sh)" || exit
}
}