sprotheroe/vagrant-disksize

incompatibility with vagrant 2.1.3

Opened this issue · 6 comments

vagrant version

$ vagrant --version
Vagrant 2.1.3

plugin version

$ vagrant plugin list
vagrant-disksize (0.1.2, global)

Vagrantfile

$ cat Vagrantfile
Vagrant.configure(2) do |config|
  config.vm.box = 'ubuntu/xenial64'
  config.vagrant.plugins = ['vagrant-disksize']
  config.disksize.size = '50GB'
end

issue

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

Vagrant:
* Unknown configuration section 'disksize'.

i used to work with this amazing plugin for a many years!
right now it does not work and there is no vagrant alternative for this...

can anyone shed the light?

I confirm the issue

Same here on Vagrant 2.1.5

0xdv commented

Works for me on 2.1.5.
Sorry, I don't remember the steps to make it working, try to re-install it or something.

Yes, I only see this when installing a new version of Vagrant and the plugins aren't migrated with it. Re-installing the plugin should work (and did for me, on Vagrant 2.2.0) but please let me know if that doesn't work for you and I'll investigate further.

I'm trying the plugin for the first time today (in Vagrant 2.1.2). I seem to have needed to install it twice to get it working. :-/

However, once I got it working, it easily made a tiny Ubuntu box usable! It resized the disk and the partition with a single LoC.

Same issue here