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:
parent
0e382b9a3d
commit
cdbae4317d
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue