You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-13 01:00:23 +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:
committed by
David Steele
parent
ac35dcac39
commit
d89d9f1c52
2
test/Vagrantfile
vendored
2
test/Vagrantfile
vendored
@ -8,7 +8,9 @@ Vagrant.configure(2) do |config|
|
|||||||
config.vm.box_version = "20180719.0.0"
|
config.vm.box_version = "20180719.0.0"
|
||||||
|
|
||||||
# vagrant plugin install vagrant-disksize
|
# vagrant plugin install vagrant-disksize
|
||||||
|
if Vagrant.has_plugin?('vagrant-disksize')
|
||||||
config.disksize.size = '64GB'
|
config.disksize.size = '64GB'
|
||||||
|
end
|
||||||
|
|
||||||
config.vm.provider :virtualbox do |vb|
|
config.vm.provider :virtualbox do |vb|
|
||||||
vb.name = "pgbackrest-test"
|
vb.name = "pgbackrest-test"
|
||||||
|
Reference in New Issue
Block a user