Building virtualization image with packer
This project release the Vagrant Box with Packer, which templates optimized for use in Japan also includes not only Virtual Box but Hyper-v.
See also latest release note.
- Vagrant is required. Go check it out if you don't have them locally installed.
- Download a box in the templates list.
- Type this command.
$ vagrant box add <metadata_url>
e.g. Ubuntu 16.04, Hyper-v
$ vagrant box add https://github.com/orleika/packer-templates/releases/download/v0.0.1/ubuntu-16.04.hyperv.json
- Now, the box is available. It's helpful to arrange a Vagrantfile referring to this site.
e.g. Ubuntu 16.04, Hyper-v
$ packer build hyperv-ubuntu16.04.amd64.json
The box is created in the builds directory.
If you have the iso file, you can use one.
$ iso_path=/path/to/file packer build virtualbox-ubuntu16.04.amd64.json
Please open issues or submit Pull requests to report bugs, features, or other problems.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.