From 996a6bab012b62334fa654a1128d33e2a5572a09 Mon Sep 17 00:00:00 2001 From: Nathan Sullivan Date: Tue, 26 Nov 2013 15:02:43 +1000 Subject: [PATCH] remove excess debugging --- builder/amazon/common/ssh.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/builder/amazon/common/ssh.go b/builder/amazon/common/ssh.go index 458a7226e..6756c62e7 100644 --- a/builder/amazon/common/ssh.go +++ b/builder/amazon/common/ssh.go @@ -8,7 +8,6 @@ import ( "github.com/mitchellh/multistep" "github.com/mitchellh/packer/communicator/ssh" "time" - "log" ) // SSHAddress returns a function that can be given to the SSH communicator @@ -21,12 +20,9 @@ func SSHAddress(e *ec2.EC2, port int) func(multistep.StateBag) (string, error) { if i.DNSName != "" { host = i.DNSName } else if i.VpcId != "" { - log.Printf("public ip from SSHAddress: %s", i.PublicIpAddress) if i.PublicIpAddress != "" { - log.Printf("using public ip in SSHAddress") host = i.PublicIpAddress } else { - log.Printf("using private ip in SSHAddress") host = i.PrivateIpAddress } }