From 2997b2f911aad8c564d6162182aa72f24fee4634 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 16 Jan 2024 22:24:33 -0500 Subject: [PATCH] Update build.func fixes https://github.com/tteck/Proxmox/issues/2356 --- misc/build.func | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/misc/build.func b/misc/build.func index c4d077ba..ef3eec77 100644 --- a/misc/build.func +++ b/misc/build.func @@ -572,7 +572,11 @@ EOF pct start "$CTID" msg_ok "Started LXC Container" if [ "$var_os" == "alpine" ]; then - sleep 2 + sleep 3 + pct exec "$CTID" -- /bin/sh -c 'cat </etc/apk/repositories +http://dl-cdn.alpinelinux.org/alpine/latest-stable/main +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 -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit