use configured vm provider in when calling destroy in makebuildserver

This commit is contained in:
Michael Pöhn 2017-03-26 03:15:33 +02:00 committed by Hans-Christoph Steiner
parent a414aa00ff
commit 4347c10d9d
2 changed files with 2 additions and 2 deletions

View file

@ -483,7 +483,7 @@ def main():
tail = fdroidserver.tail.Tail(logfilename)
tail.start()
vm = fdroidserver.vmtools.get_build_vm(serverdir)
vm = fdroidserver.vmtools.get_build_vm(serverdir, provider=config['vm_provider'])
if options.clean:
vm.destroy()