mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 00:32:09 -04:00
specify HostKeyCallback for vmware esx5 driver
This commit is contained in:
parent
837c35206a
commit
2a6f5f1b13
1 changed files with 3 additions and 2 deletions
|
|
@ -395,8 +395,9 @@ func (d *ESX5Driver) connect() error {
|
|||
sshConfig := &ssh.Config{
|
||||
Connection: ssh.ConnectFunc("tcp", address),
|
||||
SSHConfig: &gossh.ClientConfig{
|
||||
User: d.Username,
|
||||
Auth: auth,
|
||||
User: d.Username,
|
||||
Auth: auth,
|
||||
HostKeyCallback: gossh.InsecureIgnoreHostKey(),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue