github.phpd.cn/hashicorp/packer@v1.3.2/builder/profitbricks/ssh.go (about)

     1  package profitbricks
     2  
     3  import (
     4  	"github.com/hashicorp/packer/helper/multistep"
     5  )
     6  
     7  func commHost(state multistep.StateBag) (string, error) {
     8  	ipAddress := state.Get("server_ip").(string)
     9  	return ipAddress, nil
    10  }