packer-cn/builder/profitbricks/ssh.go

11 lines
211 B
Go
Raw Normal View History

2016-06-28 22:35:41 -04:00
package profitbricks
import (
"github.com/hashicorp/packer/helper/multistep"
2016-06-28 22:35:41 -04:00
)
func commHost(state multistep.StateBag) (string, error) {
ipAddress := state.Get("server_ip").(string)
return ipAddress, nil
}