spil-ruslan / vagrant-box-updater

vagrant plugin which check updates of remote boxes during "vagrant up/box add" and provide interactive prompt to update box when remote update is detected
MIT License
34 stars 7 forks source link

auto update doesn't seem to work #12

Open jperry opened 10 years ago

jperry commented 10 years ago

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 commented 10 years ago

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

jperry commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

Bump, any chance you can release master?