Merge pull request #119 from relaxdiego/master

Auto-install required Vagrant plugins intead of erroring out
This commit is contained in:
bulldozer-balena[bot] 2021-06-04 05:40:18 +00:00 committed by GitHub
commit 2a3df9cd2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
Vagrantfile vendored
View File

@ -1,12 +1,11 @@
Vagrant.require_version '>= 2.0.0'
[ 'vagrant-vbguest', 'vagrant-docker-compose' ].each do |p|
unless Vagrant.has_plugin?(p)
raise "Please install missing plugin: vagrant plugin install #{p}"
end
end
Vagrant.require_version '>= 2.2.0'
Vagrant.configure('2') do |config|
config.vagrant.plugins = [
'vagrant-vbguest',
'vagrant-docker-compose'
]
config.vm.define 'openbalena'
config.vm.hostname = 'openbalena-vagrant'
config.vm.box = 'bento/ubuntu-18.04'