only retry one time

This commit is contained in:
Z. Cliffe Schreuders
2019-02-15 14:57:08 +00:00
parent 94c0573111
commit 569670ee6e

View File

@@ -112,7 +112,7 @@ def build_vms(scenario, project_dir, options)
end
# if deploying to ovirt, when things fail to build, set the retry_count
retry_count = OVirtFunctions::provider_ovirt?(options) ? 2 : 0
retry_count = OVirtFunctions::provider_ovirt?(options) ? 1 : 0
successful_creation = false
while retry_count and !successful_creation