I've been trying to figure out how to create a custom vagrant file from packer, I understand that in the post-processor
section you will define a directory from which to scrap from, what I do not understand is if there needs to be a specifically named file inside as to which to gather data from.
"post-processors": [{
"vagrantfile_template": "configs/vagrantfile_template",
"type": "vagrant"
}],
The above code to my knowledge would look under configs/vagrantfile_template
, but what would need to be in here? Would I create a Vagrantfile
and place it there, or would it need to be a specifically named Ruby file?