mirror of https://github.com/tteck/Proxmox.git
add alpine to build.func
This commit is contained in:
parent
2c6c2a7dfe
commit
21a842eacd
|
@ -447,6 +447,9 @@ EOF
|
||||||
msg_info "Starting LXC Container"
|
msg_info "Starting LXC Container"
|
||||||
pct start "$CTID"
|
pct start "$CTID"
|
||||||
msg_ok "Started LXC Container"
|
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
|
lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue