Browse Source
Merge pull request #763 from AntonKrug/master
Vagrant plugin check so it will not fail in the middle of provisioning
pull/765/head
Kito Cheng
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
contrib/Vagrantfile
|
|
@ -1,3 +1,8 @@ |
|
|
|
|
|
# Check if required plugin is installed |
|
|
|
|
|
unless Vagrant.has_plugin?("vagrant-disksize") |
|
|
|
|
|
raise 'The vagrant-disksize plugin is not installed! Type "vagrant plugin install vagrant-disksize" to install it.' |
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
Vagrant.configure("2") do |config| |
|
|
Vagrant.configure("2") do |config| |
|
|
config.vm.box = "ubuntu/bionic64" |
|
|
config.vm.box = "ubuntu/bionic64" |
|
|
# needs vagrant plugin install vagrant-disksize: |
|
|
# needs vagrant plugin install vagrant-disksize: |
|
|
|