####On the VM, Zero out the virtual disk
sudo dd if=/dev/zero of=/EMPTY bs=1M
sudo rm -f /EMPTY
####Clear bash history
cat /dev/null > ~/.bash_history && history -c && exit
####Package
vagrant package --base VirtualMachineName
####Rename
mv package.box BoxName_0.0.0.box
####Copy to S3
aws s3 mv package.box s3://[path to bucket]/BoxName_0.0.0.box