Versions I am using:
- Vagrant 2.2.14
- Packer v1.7.0
I could be misreading the documentation, but packer vagrant builder options I tried so far did not end up in producing desired result. All I am after is to have my custom Vagrantfile embedded into produced box.
I need it for obvious reasons to control some of the networking options. I could mandate for users to manually copy Vagrantfile before doing vagrant up, but the issue is I can’t rely on users following the process, so I’d like to enforce it at the box init by default.
I tried to use vagrant builder’s options below:
Vagrant - Builders | Packer by HashiCorp and Vagrant - Builders | Packer by HashiCorp but none of them achieved desired result. At vagrant init default Vagrantfile is still populated.