فهرست منبع

Update build.func

rest 5 sec after start container if alpine
tteckster 2 سال پیش
والد
کامیت
2e58146380
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      misc/build.func

+ 1 - 0
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