2020-02-12 10:14 skrev Sylvia Moss:

Setting boot_wait to 0s is the same as if you don't set it because zero is the empty value for a time.Duration variable, Packer will then set the default wait time which is 10 seconds, here's the line code where this happens.

Looks like a regression introduced by commit 81932922. Before this, it would set it to ten seconds if the value was unset, after this it sets it to ten seconds if it was unset or set to zero.

If you set to 1s instead it will work and won't need to wait for the entire 10 seconds default, only for 1 second.

I will try setting it to one second for now, and see if it still works. I have had trouble with timing before, but I will try. Thanks!

If you think this is a bug, I advise you to open an issue on Github https://github.com/hashicorp/packer/issues.

Well, it is an undocumented change, at least :-)



[1] https://github.com/hashicorp/packer/commit/819329228a8dbf82908dc8ccf7c48ab53bfeb2f6#diff-eed61e47b807548499429ebc8afb15bb


--
\\// Peter - http://www.softwolves.pp.se/

--
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/c323be447a1af6bc208650c91fa8573e%40softwolves.pp.se.

Reply via email to