Ensure temp_dir exists before starting
Otherwise some failures throw the wrong error.
This commit is contained in:
parent
60db800d9c
commit
ac0c3b0ec9
|
@ -1059,6 +1059,8 @@ def create_vm(self, vm_name, vm_profile, define_vm=True, start_vm=True, script_r
|
|||
import datetime
|
||||
import random
|
||||
|
||||
temp_dir = None
|
||||
|
||||
time.sleep(2)
|
||||
|
||||
print("Starting provisioning of VM '{}' with profile '{}'".format(vm_name, vm_profile))
|
||||
|
|
Loading…
Reference in New Issue