packer-cn/builder/oracle/common/ssh.go

11 lines
207 B
Go
Raw Normal View History

package common
import (
2018-01-25 17:45:09 -05:00
"github.com/hashicorp/packer/helper/multistep"
)
func CommHost(state multistep.StateBag) (string, error) {
ipAddress := state.Get("instance_ip").(string)
return ipAddress, nil
}