From 74cf06b1488ac8ac3a2bb8f91ffef27920833222 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sun, 9 Mar 2014 18:40:46 -0300 Subject: [PATCH] boxes: Sleep for 5 seconds after starting the container so that is has some time to get its network ready --- boxes/debian/install-extras.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/boxes/debian/install-extras.sh b/boxes/debian/install-extras.sh index a5fe021..8cabb09 100755 --- a/boxes/debian/install-extras.sh +++ b/boxes/debian/install-extras.sh @@ -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)