You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although it's a small, minor problem, I often feel uncomfortable because I use Packer frequently so I register an issue here as a feature request.
As shown in the attached screenshot, the output of the scripts registered in Provision step is displayed in red. It is difficult to distinguish it from real errors, because all the text is displayed in red like an error message, even if it is not an error.
Is it possible to make appropriate improvements?
The text was updated successfully, but these errors were encountered:
Yep, verified that this is happening because calling set -x inside your bash script streams the executed commands to stderr, not stdout. Packer makes red all the output received through the stderr pipe. You can redirect your script's stderr to stdout to fix this using the execute_command option in the shell-local provisioner:
Packer version: 1.4.2
Although it's a small, minor problem, I often feel uncomfortable because I use Packer frequently so I register an issue here as a feature request.
As shown in the attached screenshot, the output of the scripts registered in Provision step is displayed in red. It is difficult to distinguish it from real errors, because all the text is displayed in red like an error message, even if it is not an error.
Is it possible to make appropriate improvements?
The text was updated successfully, but these errors were encountered: