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:
Fabio Rehm 2014-03-09 18:40:46 -03:00
parent 2c7e6fb600
commit 74cf06b148

View file

@ -8,6 +8,9 @@ info 'Installing extra packages and upgrading'
debug 'Bringing container up'
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
UBUNTU_PACKAGES=(vim curl wget man-db bash-completion python-software-properties software-properties-common)