- Packer
- At least one virtualization provider: Virtualbox, VMware Fusion, Parallels Desktop, etc
- A license for VMware Fusion Pro for the VMWare Fusion provider.
Templates can still be built directly by packer
To build a template for all providers (VirtualBox, Fusion, Parallels):
$ packer build debian-8.6-amd64.json
To build a template only for a list of specific providers:
$ packer build -only=virtualbox-iso debian-8.6-amd64.json
To build a template for all providers except a list of specific providers:
$ packer build -except=parallels-iso,vmware-iso debian-8.6-amd64.json
If you want to use a another mirror site, use the mirror
user variable.
$ packer build -var 'mirror=http://ftp.jaist.ac.jp/pub/Linux/debian-cdimage/release' debian-8.6-amd64.json
Congratulations! You now have box(es) in the ../builds directory that you can then add to Vagrant and start testing cookbooks.
Notes:
- The box_basename can be overridden like other Packer vars with
-var 'box_basename=debian-8.6'
Please use GitHub issues to report bugs, features, or other problems.
All of the hard work was done by the bento authors.
Any changes by Loadsys are currently in the cakephp
branch.
Copyright 2012-2016, Chef Software, 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.