Skip to content

Using the Bento binary to build publish boxes

Tim Smith edited this page Oct 22, 2019 · 3 revisions

Using the bento-ya gem

The bento-ya gem is what the pipeline for this project uses and may or may not be generally applicable. It is intended to be installed to the ChefDK Ruby gem set but will work outside of it with limited functionality.

$ gem install bento-ya

If you use Bundler, you can add run bundle install from the bento repo. Prefix commands with bundle exec if doing so.

To build multiple templates for all providers (VirtualBox, Fusion, Parallels, etc):

$ bento build ubuntu-16.04-amd64 ubuntu-16.04-i386

To build a box for a single provider:

$ bento build --only=virtualbox-iso ubuntu-16.04-amd64

Clone this wiki locally