From d7e0bab284cb2e3e0b64e87677d1e236d8c28d92 Mon Sep 17 00:00:00 2001 From: Elton Renda Date: Wed, 4 Nov 2020 18:54:44 +0200 Subject: [PATCH] add delay after reboot --- lxc/nginx-proxy-manager/create.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lxc/nginx-proxy-manager/create.sh b/lxc/nginx-proxy-manager/create.sh index d06f7d2..bf31e77 100644 --- a/lxc/nginx-proxy-manager/create.sh +++ b/lxc/nginx-proxy-manager/create.sh @@ -193,6 +193,7 @@ pct exec $_ctid -- sh -c "wget --no-cache -qO - $_raw_base/setup.sh | sh" info "Rebooting LXC container..." pct reboot $_ctid +sleep 3 # Get network details and show completion message _ip=$(pct exec $_ctid -- ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')