sprotheroe / vagrant-disksize

Vagrant plugin to resize disks in VirtualBox
MIT License
479 stars 52 forks source link

incompatibility with vagrant 2.1.3 #22

Open electriquo opened 6 years ago

electriquo commented 6 years ago

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?

spacehorst commented 6 years ago

I confirm the issue

proycon commented 5 years ago

Same here on Vagrant 2.1.5

0xdv commented 5 years ago

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.

sprotheroe commented 5 years ago

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.

jamiejackson commented 5 years ago

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.

MartinMystikJonas commented 5 years ago

Same issue here