Bento is a project that encapsulates Packer templates for building Vagrant baseboxes. We use these boxes internally at Opscode for testing Hosted Enterprise Chef, Private Enterprise Chef and our open source cookbooks via test-kitchen.
The following baseboxes are publicly available and were built using this project. Note that our baseboxes do not include Chef Client. Vagrant can be instructed to install Chef at runtime using the vagrant-omnibus plugin.
These baseboxes were all built using a Mac OS X host running VirtualBox 4.3.2, and have that format of Guest Extensions.
- opscode-centos-5.10-i386
- opscode-centos-5.10
- opscode-centos-6.5-i386
- opscode-centos-6.5
- opscode-debian-6.0.8-i386
- opscode-debian-6.0.8
- opscode-debian-7.2.0-i386
- opscode-debian-7.2.0
- opscode-fedora-18-i386
- opscode-fedora-18
- opscode-fedora-19-i386
- opscode-fedora-19
- opscode-fedora-20-i386
- opscode-fedora-20
- opscode-freebsd-9.2-i386
- opscode-freebsd-9.2
- opscode-ubuntu-10.04-i386
- opscode-ubuntu-10.04
- opscode-ubuntu-12.04-i386
- opscode-ubuntu-12.04
- opscode-ubuntu-12.10-i386
- opscode-ubuntu-12.10
- opscode-ubuntu-13.04-i386
- opscode-ubuntu-13.04
- opscode-ubuntu-13.10-i386
- opscode-ubuntu-13.10
These baseboxes were all built using a Mac OS X host running VMWare Fusion 6.0.2, and have that version of VMWare Tools. The boxes should work unchanged in VMWare Workstation for Windows or Linux.
- opscode-centos-5.10-i386
- opscode-centos-5.10
- opscode-centos-6.5-i386
- opscode-centos-6.5
- opscode-debian-6.0.8-i386
- opscode-debian-6.0.8
- opscode-debian-7.2.0-i386
- opscode-debian-7.2.0
- opscode-fedora-18-i386
- opscode-fedora-18
- opscode-fedora-19-i386
- opscode-fedora-19
- opscode-fedora-20-i386
- opscode-fedora-20
- opscode-freebsd-9.2-i386
- opscode-freebsd-9.2
- opscode-ubuntu-10.04-i386
- opscode-ubuntu-10.04
- opscode-ubuntu-12.04-i386
- opscode-ubuntu-12.04
- opscode-ubuntu-12.10-i386
- opscode-ubuntu-12.10
- opscode-ubuntu-13.04-i386
- opscode-ubuntu-13.04
- opscode-ubuntu-13.10-i386
- opscode-ubuntu-13.10
Older baseboxes include Chef and therefore are not compatible with some new plugins. The full list of old boxes are available in the old boxes file.
First, install Packer and then clone this project.
Inside the packer
directory, a JSON file describes each box that can be built. You can use packer build
to build the
boxes.
$ packer build debian-7.2.0-i386.json
If you want to use a another mirror site, use mirror variable.
$ packer build -var 'mirror=http://ftp.jaist.ac.jp/pub/Linux/debian-cdimage/release' debian-7.2.0-i386.json
If you only have VMware or VirtualBox available, you may also tell Packer to build only that box.
$ packer build -only=virtualbox debian-7.2.0-i386.json
Congratulations! You now have box(es) in the ../builds directory that you can then add to Vagrant and start testing cookbooks.
Red Hat Enterprise Linux and SUSE Linux Enterprise Server templates are provided; however, their ISOs are not publicly retrievable. The URLs in those templates are bogus; you should substitute your server where you host the ISOs, using the mirror variable as above.
Packer does not yet support Windows, so veewee definitions are still used for building those boxes. You must build these boxes yourself due to licensing constraints. You can build these as follows:
$ bundle install
$ bundle exec veewee vbox build [definition-name]
Use the issue tracker to report bugs, features or other issues.
How to contribute to Opscode open source software projects
These basebox templates were converted from veewee definitions originally based on work done by Tim Dysinger to make "Don't Repeat Yourself" (DRY) modular baseboxes. Thanks Tim!
- Author: Seth Chisamore ([email protected])
- Author: Stephen Delano ([email protected])
- Author: Joshua Timberman ([email protected])
- Author: Tim Dysinger ([email protected])
- Author: Chris McClimans ([email protected])
- Author: Julian Dunn ([email protected])
- Author: Tom Duffield ([email protected])
- Author: Ross Timson ([email protected])
Copyright 2012-2013, Opscode, Inc. (<[email protected]>)
Copyright 2011-2012, Tim Dysinger (<[email protected]>)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.