From ac8354ad9c050b7ea087bfc3d34c76894e549bc9 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 26 Dec 2013 15:28:15 -0700 Subject: [PATCH] builder/vmware/vmx: step connect SSH --- builder/vmware/vmx/builder.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/builder/vmware/vmx/builder.go b/builder/vmware/vmx/builder.go index 002699d5f..cd930183e 100644 --- a/builder/vmware/vmx/builder.go +++ b/builder/vmware/vmx/builder.go @@ -69,6 +69,13 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe DurationBeforeStop: 5 * time.Second, Headless: b.config.Headless, }, + &common.StepConnectSSH{ + SSHAddress: driver.SSHAddress, + SSHConfig: vmwcommon.SSHConfigFunc(&b.config.SSHConfig), + SSHWaitTimeout: b.config.SSHWaitTimeout, + NoPty: b.config.SSHSkipRequestPty, + }, + &common.StepProvision{}, } // Run the steps.