Original debian repo: https://github.com/quarkslab/packer-debian
which is based on: https://github.com/boxcutter/debian
Orignal ubuntu repo: https://github.com/boxcutter/ubuntu/
Original windows repo: https://github.com/juju4/windows
Don't forget to download in the directory the ISO file listed in the debian-X.X.X-amd64.json or ubuntu-XX.XX.X-amd64 file.
$ packer-io build -only=vmware-iso -var-file=debian-9.0.0-amd64.json debian.json
$ packer-io build -only=vmware-iso -var-file=ubuntu-18.04.2-amd64.json ubuntu.json
Be careful with VMWare provider, they may need a manual task to do:
- When the mirror selection fail, click on "Go back"
- Go back to the "selection step menu"
- Select the "Configure Network" and then it should not fail again
To improve security, you can take advantage of the
config.vm.box_download_checksum
Vagrantfile
option.
First, you need to verify the integrity of the checksums. As they are part of
the README.md
file, you need to verify the integrity of this file (See Security/PGP):