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

     1  package lin
     2  
     3  import (
     4  	"github.com/hashicorp/packer/builder/azure/common/constants"
     5  	"github.com/hashicorp/packer/helper/multistep"
     6  )
     7  
     8  func SSHHost(state multistep.StateBag) (string, error) {
     9  	host := state.Get(constants.SSHHost).(string)
    10  	return host, nil
    11  }