vagrant-box-updater icon indicating copy to clipboard operation
vagrant-box-updater copied to clipboard

auto update doesn't seem to work

Open jperry opened this issue 11 years ago • 4 comments

Hi,

I am setting autoupdate to true but I am still being prompted to accept the new box. I would have expected vagrant to automatically grab the new box. Is this a bug?

[ubuntu] Modified image detected : http://xivagrantbox/vagrant-boxes/bc_baked_base_ubuntu-12.04_chef-11.8.2.box {"Last-Modified"=>"Tue, 18 Feb 2014 15:59:14 GMT"}
Would you like to update the box?
If negative - we keep ignoring this update, and notify only when another update detected.
Type (Y/N)

I am setting the autoupdate via

config.box_updater.autoupdate = true

Please advise?

jperry avatar Feb 18 '14 16:02 jperry

This becomes a problem in a CI environment where this may cause your builds to hang.

jperry avatar Feb 18 '14 16:02 jperry

Digging into the code I see you can pass the --force flag but vagrant up <name> doesn't support --force. Is this a bug?

jperry avatar Feb 18 '14 17:02 jperry

Okay, looks like I have an older version that didn't check the autoupdate flag. Any plans to release 0.0.4? Using vagrant plugin install grabs 0.0.3 but has old code. This change is missing:

https://github.com/spil-ruslan/vagrant-box-updater/commit/a107d5f309be2b116b89d8148dc1069f57bfdc0e

jperry avatar Feb 18 '14 17:02 jperry

Bump, any chance you can release master?

jperry avatar May 13 '14 00:05 jperry