sprotheroe / vagrant-disksize

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

unable to resolve the dependency in vagrant 2.2.9 #40

Open queglay opened 4 years ago

queglay commented 4 years ago

After updating to Vagrant 2.2.9 the plugin doesn't work.

Error message given during initialization: Unable to resolve dependency: user requested 'vagrant-disksize (= 0.1.3)'
BR0kEN- commented 4 years ago

It works just okay.

$ vagrant --version
Vagrant 2.2.9
$ VBoxManage --version
6.0.22r137980

Vagrantfile (partial, of course):

config.vagrant.plugins = ['vagrant-disksize']
config.disksize.size = '50GB'
$ vagrant up
Vagrant has detected project local plugins configured for this
project which are not installed.

  vagrant-disksize
Install local plugins (Y/N) [N]: y
Installing the 'vagrant-disksize' plugin. This can take a few minutes...
Fetching vagrant-disksize-0.1.3.gem
Installed the plugin 'vagrant-disksize (0.1.3)'!

Vagrant has completed installing local plugins for the current Vagrant
project directory. Please run the requested command again.

During the next vagrant up the disk was changed to VDI and resized:

Resized disk: old 10240 MB, req 51200 MB, new 51200 MB