From a67ee015eae8343f690f41b4069a759e4162e5cc Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 7 Jun 2016 13:27:30 -0700 Subject: [PATCH] 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. --- createhdds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createhdds.py b/createhdds.py index 2a280ca..33a7da1 100755 --- a/createhdds.py +++ b/createhdds.py @@ -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:")