packer-cn/builder/profitbricks/ssh.go

11 lines
211 B
Go

package profitbricks
import (
"github.com/hashicorp/packer/helper/multistep"
)
func commHost(state multistep.StateBag) (string, error) {
ipAddress := state.Get("server_ip").(string)
return ipAddress, nil
}