From cdbae4317dab2f967334942faae487d89a0d9a5a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 22 Dec 2014 17:40:41 +0100 Subject: [PATCH] centos: sleep for 20 instead of 10 seconds... Somehow bringing up the network takes longer on my fedora host. Possibly related to some integration / registration with systemd. --- centos/install-extras.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/centos/install-extras.sh b/centos/install-extras.sh index ef32531..4ee6406 100755 --- a/centos/install-extras.sh +++ b/centos/install-extras.sh @@ -10,8 +10,9 @@ debug 'Bringing container up' utils.lxc.start # Sleep for a bit so that the container can get an IP -log 'Sleeping for 10 seconds...' -sleep 10 +SECS=20 +log "Sleeping for $SECS seconds..." +sleep $SECS utils.lxc.attach yum update -y