mirror of
https://pagure.io/fedora-qa/createhdds.git
synced 2024-12-22 18:53:09 +00:00
Fix recursive create()
call on timeout
It wasn't passing textinst, so it'd crash on the first retry. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
dfc1c216c0
commit
2d09aa6ef5
@ -273,7 +273,7 @@ class VirtInstallImage(object):
|
||||
os.remove(tmpfile)
|
||||
if retries:
|
||||
logger.info("Retrying: %s retries remain after this", str(retries))
|
||||
return self.create(retries=retries-1)
|
||||
return self.create(textinst, retries=retries-1)
|
||||
else:
|
||||
sys.exit("Image creation timed out too many times!")
|
||||
if ret > 0:
|
||||
|
Loading…
Reference in New Issue
Block a user