mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 23:12:46 +03:00
fix vm provider lookup flaw
This commit is contained in:
parent
0f28c805b3
commit
1e83bd306f
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ def get_build_vm(srvdir, provider=None):
|
||||||
has_libvirt_machine = isdir(joinpath(abssrvdir, '.vagrant',
|
has_libvirt_machine = isdir(joinpath(abssrvdir, '.vagrant',
|
||||||
'machines', 'default', 'libvirt'))
|
'machines', 'default', 'libvirt'))
|
||||||
has_vbox_machine = isdir(joinpath(abssrvdir, '.vagrant',
|
has_vbox_machine = isdir(joinpath(abssrvdir, '.vagrant',
|
||||||
'machines', 'default', 'libvirt'))
|
'machines', 'default', 'virtualbox'))
|
||||||
if has_libvirt_machine and has_vbox_machine:
|
if has_libvirt_machine and has_vbox_machine:
|
||||||
logger.info('build vm provider lookup found virtualbox and libvirt, defaulting to \'virtualbox\'')
|
logger.info('build vm provider lookup found virtualbox and libvirt, defaulting to \'virtualbox\'')
|
||||||
return VirtualboxBuildVm(abssrvdir)
|
return VirtualboxBuildVm(abssrvdir)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue