Conversation
Added a --show-packer-template debug switch to inspect what is going to be sent to packer. Useful to debug changes to templates / profiles Signed-off-by: Camille Moncelier <camille@moncelier.fr>
Signed-off-by: Camille Moncelier <camille@moncelier.fr>
|
In debug mode, malboxes will leave generated configuration files in the cache folder. That's how I check for issues. Maybe we can modify that behavior so that the generated packer.json will be shown on the command-line in debug mode instead?
|
|
To be honest I submitted this pull request because I spent quite some time doing tests and having a fast way to show what would the packer config looked like was useful (hence the formating using json.loads/json.dumps) Also when a build failed, a quick Maybe this should be a hidden switch ? As for the profile I answered in #77 |
|
I'm willing to see the dump of the full json beautified config when in |
The first patch adds a
debugswitch to allow viewing the packer template.The second one, adds a --profile option (since
prepare_configis now aware ofargs) to override the selected profile inconfig.js