-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow specifying content for vagrantfile_template #104
Comments
Hi @flmmartins, Thanks for the suggestion, this is a Vagrant plugin specific issue so I'll transfer it to the plugin now. This is likely simple to implement, would you be interested in contributing it potentially? We'd happily help if so, and review the code for certain! |
Sure. I will see if I can propose a PR although I don't have experience with Go but it will be a good learning opportunity. |
Awesome, thanks @flmmartins Don't hesitate to reach out if you need some help, happy to provide! |
Community Note
Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.
Description
Today
vagrantfile_template
needs to be a file path.Allow to specify
vagrantfile_template_content
in Vagrant post processor so I can use templatefile with it.Use Case(s)
I want to specify my own SSH to be used in Vagrant instead of the public one therefore I would like to inject a vagrant with the following:
This could be applied many configurations in the Vagrantfile. This is only an example.
Potential configuration
Potential References
https://developer.hashicorp.com/packer/integrations/hashicorp/vagrant/latest/components/post-processor/vagrant
The text was updated successfully, but these errors were encountered: