bump the selinux relabel boot timeout

from 5 mins to 10 mins...we seem to hit it far too often, I
guess initial relabel takes more than 5 mins.
This commit is contained in:
Adam Williamson 2016-06-07 13:27:30 -07:00
parent 6ee0e2217d
commit a67ee015ea

View File

@ -247,7 +247,7 @@ class VirtBuilderImage(object):
# and bail if it's hit.
try:
logger.info("Booting image to trigger SELinux relabel...")
child = pexpect.spawnu("qemu-kvm -m 2G -nographic {0}".format(tmpfile), timeout=300)
child = pexpect.spawnu("qemu-kvm -m 2G -nographic {0}".format(tmpfile), timeout=600)
child.expect(u"localhost login:")
child.sendline(u"root")
child.expect(u"Password:")