mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-22 01:58:30 +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.
|
||||
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:")
|
||||
|
Loading…
Reference in New Issue
Block a user