document wrapConfig a little

pull/6758/head
Adrien Delorme 8 years ago
parent 76c6d871a9
commit 25bfd4aa43

@ -37,6 +37,9 @@ func main() {
// realMain is executed from main and returns the exit status to exit with.
func realMain() int {
var wrapConfig panicwrap.WrapConfig
// When following env variable is set, packer
// wont panic wrap itself as it's already wrapped.
// i.e.: when terraform runs it.
wrapConfig.CookieKey = "PACKER_WRAP_COOKIE"
wrapConfig.CookieValue = "49C22B1A-3A93-4C98-97FA-E07D18C787B5"

Loading…
Cancel
Save