mirror of
https://pagure.io/fedora-qa/createhdds.git
synced 2024-11-16 13:13:09 +00:00
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:
parent
6ee0e2217d
commit
a67ee015ea
@ -247,7 +247,7 @@ class VirtBuilderImage(object):
|
|||||||
# and bail if it's hit.
|
# and bail if it's hit.
|
||||||
try:
|
try:
|
||||||
logger.info("Booting image to trigger SELinux relabel...")
|
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.expect(u"localhost login:")
|
||||||
child.sendline(u"root")
|
child.sendline(u"root")
|
||||||
child.expect(u"Password:")
|
child.expect(u"Password:")
|
||||||
|
Loading…
Reference in New Issue
Block a user