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.
This commit is contained in:
Michael Adam 2014-12-22 17:40:41 +01:00
parent 0e382b9a3d
commit cdbae4317d

View file

@ -10,8 +10,9 @@ debug 'Bringing container up'
utils.lxc.start utils.lxc.start
# Sleep for a bit so that the container can get an IP # Sleep for a bit so that the container can get an IP
log 'Sleeping for 10 seconds...' SECS=20
sleep 10 log "Sleeping for $SECS seconds..."
sleep $SECS
utils.lxc.attach yum update -y utils.lxc.attach yum update -y