test-kitchen / kitchen-vagrant

A Test Kitchen Driver for Vagrant
Other
348 stars 189 forks source link

Ignore error if box not found when updating #428

Closed clintoncwolfe closed 3 years ago

clintoncwolfe commented 3 years ago

When performing a vagrant box update --box BOXNAME, the CLI command will exit with code 1 if the named box does not already exist. In our use case, we can ignore that error and happily continue, since our later vagrant up command will download the box if missing.

I considered explicitly listing boxes rather than ignoring an error, but that would introduce a performance penalty to every run.

Issues Resolved

Fixes #425

Check List