fixups to pull from GitHub and not local

This commit is contained in:
Sam Heinz
2024-04-08 12:28:05 +10:00
parent 20c2bd9e3a
commit d3de5b369f
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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
}