util/packer: Refactor scripts and use single JSON template

This is so `packer` can build both Vagrant and EC2 images in parallel.
This needs to be installed after a reboot so that if we updated the kernel we get the right version.