scan vm provider again after re-creating builder vm

This commit is contained in:
Michael Pöhn 2017-03-09 13:30:30 +01:00 committed by Hans-Christoph Steiner
parent c54e0565d7
commit ce3c959ce5

View file

@ -259,6 +259,7 @@ def get_clean_vm(reset=False):
retcode, _ = vagrant(['up'], cwd='builder')
if retcode != 0:
raise BuildException("Failed to start build server")
provider = get_vm_provider()
# Open SSH connection to make sure it's working and ready...
logging.info("Connecting to virtual machine...")