Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packer debugging with --debug #20

Merged
merged 1 commit into from
Jan 8, 2017

Conversation

obilodeau
Copy link
Member

This is done via injecting PACKER_LOG=1 environment variable. I needed to add optional environment alteration in run_foreground().

This would have made troubleshooting #19 simpler so I added it.

This is done via injecting PACKER_LOG=1 environment variable. I needed
to add optional environment alteration in run_foreground().
@Svieg
Copy link
Collaborator

Svieg commented Dec 29, 2016

Looks good to me, which OS has this been tested on?

@obilodeau
Copy link
Member Author

I tested on Linux. Python docs on subprocess.Popen()'s env doesn't indicate that it would be problematic for Windows but it definitely could. Good point!

@obilodeau
Copy link
Member Author

Worked on Windows 10. Merging.

@obilodeau obilodeau merged commit 662f3a4 into master Jan 8, 2017
@obilodeau obilodeau deleted the feature-improved-packer-debugging branch January 8, 2017 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants