mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
Skip vagrant disksize option if no plugin.
Previously, `vagrant up` would bail if no `vagrant-disksize` plugin was installed. This option is just a nice-to-have, so skip it rather than bailing.
This commit is contained in:
parent
ac35dcac39
commit
d89d9f1c52
4
test/Vagrantfile
vendored
4
test/Vagrantfile
vendored
@ -8,7 +8,9 @@ Vagrant.configure(2) do |config|
|
||||
config.vm.box_version = "20180719.0.0"
|
||||
|
||||
# vagrant plugin install vagrant-disksize
|
||||
config.disksize.size = '64GB'
|
||||
if Vagrant.has_plugin?('vagrant-disksize')
|
||||
config.disksize.size = '64GB'
|
||||
end
|
||||
|
||||
config.vm.provider :virtualbox do |vb|
|
||||
vb.name = "pgbackrest-test"
|
||||
|
Loading…
Reference in New Issue
Block a user