- Install Packer: https://www.packer.io/docs/install/index.html
- Installed Vagrant: https://www.vagrantup.com/docs/installation/
cd packer
packer build -force archlinux.json
cd ..
vagrant up
vagrant ssh
To debug/step through the Packer build, use packer build -force -debug archlinux.json
Alternatively, if you want to be prompted only on failures. use packer build -on-error=ask -force archlinux.json
To force a full rebuild and reset Vagrant:
rm -rf packer/{archlinux.box,archlinux.box.checksum,output-virtualbox-iso}
vagrant box remove --all --force archlinux-box
- Follow the build steps above