From 2e581463806c8c9d563baec048dea1d3e55bb889 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 25 Mar 2023 06:23:17 -0400 Subject: [PATCH] Update build.func rest 5 sec after start container if alpine --- misc/build.func | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/build.func b/misc/build.func index 88375fa3..50ba9e1a 100644 --- a/misc/build.func +++ b/misc/build.func @@ -452,6 +452,7 @@ EOF pct start "$CTID" msg_ok "Started LXC Container" if [ "$var_os" == "alpine" ]; then + sleep 5 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