packer-cn/builder
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/ecs rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
amazon allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
azure Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
cloudstack rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
digitalocean rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
docker allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
file change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
googlecompute Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
hcloud change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
hyperone allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
hyperv allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
lxc allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
lxd allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
ncloud rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
null change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
oneandone rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
openstack rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
oracle allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
parallels allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
profitbricks rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
proxmox Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
qemu allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
scaleway rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
tencentcloud/cvm rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
triton rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
vagrant rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
virtualbox allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
vmware allow a provisioner to timeout 2019-04-08 20:09:21 +02:00