packer-cn/helper
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
* I had to contextualise Communicator.Start and RemoteCmd.StartWithUi
NOTE: Communicator.Start starts a RemoteCmd but RemoteCmd.StartWithUi will run the cmd and wait for a return, so I renamed StartWithUi to RunWithUi so that the intent is clearer.
Ideally in the future RunWithUi will be named back to StartWithUi and the exit status or wait funcs of the command will allow to wait for a return. If you do so please read carrefully https://golang.org/pkg/os/exec/#Cmd.Stdout to avoid a deadlock
* cmd.ExitStatus to cmd.ExitStatus() is now blocking to avoid race conditions
* also had to simplify StartWithUi
2019-04-08 20:09:21 +02:00
..
builder/testing change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
common move http with proxy call into a helper function 2019-01-25 12:32:52 -08:00
communicator allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
config replace scrubconfig with packer.LogSecretFilter.Set 2018-08-20 15:35:55 -07:00
enumflag Fail on unknown values of -on-error 2016-09-17 14:42:21 +00:00
flag-kv helper/flag-kv: can parse JSON files 2015-05-26 09:58:04 -07:00
flag-slice Support -flag=var1,var2,var3 to fix #2332 2015-06-26 17:54:59 -07:00
multistep rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
ssh Clarified comment for 'defaultRsaBits' constant. 2019-03-01 12:17:13 -05:00
useragent Include arch and os 2018-04-05 14:28:50 -04:00