add delay after reboot
This commit is contained in:
parent
7093e84c8f
commit
d7e0bab284
@ -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}')
|
||||
|
Loading…
Reference in New Issue
Block a user