add alpine to build.func

This commit is contained in:
tteckster 2023-03-23 12:41:01 -04:00 committed by GitHub
parent 2c6c2a7dfe
commit 21a842eacd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

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