add delay after reboot

This commit is contained in:
Elton Renda 2020-11-04 18:54:44 +02:00
parent 7093e84c8f
commit d7e0bab284

View File

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