Work around RHBZ #1769600 on ppc64

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-11-07 13:36:17 -08:00
parent 53ef72b734
commit 8f53b9f5f8

View File

@ -298,6 +298,10 @@ class VirtInstallImage(object):
# openQA server:
# https://bugzilla.redhat.com/show_bug.cgi?id=1387798
args.extend(("--network", "user"))
# Workaround a qemu/ppc64 bug in F31:
# https://bugzilla.redhat.com/show_bug.cgi?id=1769600
if arch in ['ppc64','ppc64le']:
args.extend(("--machine", "pseries-4.0"))
# run the command, timing out after 1 hour; sometimes creation
# seems to just get mysteriously stuck, we need to bail and
# retry in this case