packer-cn/post-processor
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
..
alicloud-import Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
amazon-import Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
artifice Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
checksum Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
compress Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
digitalocean-import Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
docker-import Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
docker-push Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
docker-save Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
docker-tag Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
googlecompute-export Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
googlecompute-import Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
manifest Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
shell-local allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
vagrant Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
vagrant-cloud Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
vsphere Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
vsphere-template Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00