From 21a842eacd92247f32d16488e46229a8f31996dc Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 23 Mar 2023 12:41:01 -0400 Subject: [PATCH] add alpine to build.func --- misc/build.func | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/build.func b/misc/build.func index a4e63753..02631526 100644 --- a/misc/build.func +++ b/misc/build.func @@ -447,6 +447,9 @@ EOF msg_info "Starting LXC Container" pct start "$CTID" msg_ok "Started LXC Container" + if [ "$var_os" == "alpine" ]; then + 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 }