We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A quick look-up told me that we could add vboxmanage options in the profiles so the user could easily modify those options in config.js
config.js
The text was updated successfully, but these errors were encountered:
That would only require to template the builder_virtualbox_windows.json snippet as I can tell
Sorry, something went wrong.
Yes, we could iterate on a dict adding modifyvm lines in this list:
"vboxmanage": [ ["modifyvm", "{{ '{{.Name}}' }}", "--memory", "4096"], ["modifyvm", "{{ '{{.Name}}' }}", "--cpus", "1"] ],
Something like:
"vboxmanage": [ ["modifyvm", "{{ '{{.Name}}' }}", "--memory", "4096"], ["modifyvm", "{{ '{{.Name}}' }}", "--cpus", "1"], {% for key, value in my_dict.iteritems() %} ["modifyvm", "{{ '{{.Name}}' }}", "--{{ key }}", "{{ value }}"], {% endfor %} ],
But we need to be careful with the dangling comma. Maybe put CPU last and without a terminating comma.
Anyway, I would 👍 such a change.
Cool, I'll check that.
Svieg
No branches or pull requests
A quick look-up told me that we could add vboxmanage options in the profiles so the user could easily modify those options in
config.js
The text was updated successfully, but these errors were encountered: