Packer build

Adds packer build and makes sure swap is set up early in the learning vm build process.