Skip to content

Building virtualization image with packer

License

Notifications You must be signed in to change notification settings

orleika/packer-templates

Repository files navigation

packer-templates

Packer Vagrant MIT License

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.

Templates

See also latest release note.

Ubuntu

Fedora

Usage

  1. Vagrant is required. Go check it out if you don't have them locally installed.
  2. Download a box in the templates list.
  3. 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
  1. Now, the box is available. It's helpful to arrange a Vagrantfile referring to this site.

Build

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

Maintainers

orleika

Contribute

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.

License

MIT © orleika