boxes: Sleep for 5 seconds after starting the container so that is has some time to get its network ready
This commit is contained in:
parent
2c7e6fb600
commit
74cf06b148
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@ info 'Installing extra packages and upgrading'
|
||||||
debug 'Bringing container up'
|
debug 'Bringing container up'
|
||||||
lxc-start -d -n ${CONTAINER} &>/dev/null || true
|
lxc-start -d -n ${CONTAINER} &>/dev/null || true
|
||||||
|
|
||||||
|
# Sleep for a bit so that the container can get an IP
|
||||||
|
sleep 5
|
||||||
|
|
||||||
# TODO: Support for setting this from outside
|
# TODO: Support for setting this from outside
|
||||||
UBUNTU_PACKAGES=(vim curl wget man-db bash-completion python-software-properties software-properties-common)
|
UBUNTU_PACKAGES=(vim curl wget man-db bash-completion python-software-properties software-properties-common)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue