From 100200e1ae45a534c569b021103a5f103d1b06af Mon Sep 17 00:00:00 2001 From: Ian Unruh Date: Thu, 7 Aug 2014 11:11:08 -0400 Subject: [PATCH] Add templating to VMware SSH host option --- builder/vmware/common/ssh_config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/vmware/common/ssh_config.go b/builder/vmware/common/ssh_config.go index 8bb616c17..f92b28931 100644 --- a/builder/vmware/common/ssh_config.go +++ b/builder/vmware/common/ssh_config.go @@ -32,6 +32,7 @@ func (c *SSHConfig) Prepare(t *packer.ConfigTemplate) []error { } templates := map[string]*string{ + "ssh_host": &c.SSHHost, "ssh_key_path": &c.SSHKeyPath, "ssh_password": &c.SSHPassword, "ssh_username": &c.SSHUser,