You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
When using the vagrant builder, I'd like to be able to specify something like "box_update": true to ensure that the build is always happening on the latest version of the source box. The ways of achieving this now are:
Use the box_version parameter -> this requires the user to check for the latest versions before every build and update their build file.
Use the force_add parameter -> this will cause packer to always download the box, even when there is no new version
Run vagrant box update manually before running packer
Use Case(s)
Bento boxes built by Chef, are very common base boxes and are update relatively regularly. By ensuring your build is on the latest version you will get the latest security patches.
You may also be building multiple vagrant boxes on top of each other (instead of using a third party base box). In which case, you likely want the latest version of your base box.
This issue was originally opened by @ndench as hashicorp/packer#10876. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
When using the vagrant builder, I'd like to be able to specify something like
"box_update": true
to ensure that the build is always happening on the latest version of the source box. The ways of achieving this now are:box_version
parameter -> this requires the user to check for the latest versions before every build and update their build file.force_add
parameter -> this will cause packer to always download the box, even when there is no new versionvagrant box update
manually before running packerUse Case(s)
Bento boxes built by Chef, are very common base boxes and are update relatively regularly. By ensuring your build is on the latest version you will get the latest security patches.
You may also be building multiple vagrant boxes on top of each other (instead of using a third party base box). In which case, you likely want the latest version of your base box.
Potential configuration
The text was updated successfully, but these errors were encountered: