mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
allow using remote boxes from vagrant cloud
This commit is contained in:
parent
98806d7c01
commit
6d0797eb5e
@ -540,7 +540,7 @@ def main():
|
||||
sys.exit(1)
|
||||
# Check if selected basebox is available
|
||||
available_boxes_by_provider = [x.name for x in v.box_list() if x.provider == config['vm_provider']]
|
||||
if config['basebox'] not in available_boxes_by_provider:
|
||||
if '/' not in config['basebox'] and config['basebox'] not in available_boxes_by_provider:
|
||||
logger.critical("Vagrant box '{basebox}' not available "
|
||||
"for '{vm_provider}' VM provider. "
|
||||
"Please make sure it's added to vagrant. "
|
||||
|
Loading…
Reference in New Issue
Block a user