packer-cn/builder/qemu
JD Friedrikson a0052fdb68
Specify InsecureIgnoreHostKey for HostKeyCallback
[A recent breaking change upstream in Golang's crypto
library](e4e2799dd7)
has broken SSH connectivity for a few builders:

```
==> qemu: Waiting for SSH to become available...
2017/05/20 16:23:58 ui: ==> qemu: Waiting for SSH to become available...
2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 [INFO] Attempting SSH connection...
2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 reconnecting to TCP connection for SSH
2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 handshaking with SSH
2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 handshake error: ssh: must specify HostKeyCallback
2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 [DEBUG] SSH handshake err: ssh: must specify HostKeyCallback
2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 [INFO] Attempting SSH connection...
2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 reconnecting to TCP connection for SSH
2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 handshaking with SSH
2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 handshake error: ssh: must specify HostKeyCallback
2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 [DEBUG] SSH handshake err: ssh: must specify HostKeyCallback
```

Specifying HostKeyCallback as insecure should make things work again
and would make sense for packer's use case.
2017-05-20 16:17:04 -04:00
..
artifact.go fmt 2014-10-28 08:43:19 -07:00
builder.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
builder_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
driver.go Clarify how to run with logs if qemu fails to start (#3561) 2016-05-20 14:25:52 -07:00
ssh.go Specify InsecureIgnoreHostKey for HostKeyCallback 2017-05-20 16:17:04 -04:00
step_boot_wait.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_configure_vnc.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_convert_disk.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_copy_disk.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_create_disk.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_forward_ssh.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_prepare_output_dir.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_resize_disk.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_run.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_set_iso.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_shutdown.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_type_boot_command.go move packer to hashicorp 2017-04-04 13:39:01 -07:00