packer-cn/builder/scaleway/ssh.go

11 lines
207 B
Go
Raw Normal View History

2017-04-06 05:19:17 -04:00
package scaleway
import (
2018-02-05 19:50:32 -05:00
"github.com/hashicorp/packer/helper/multistep"
2017-04-06 05:19:17 -04:00
)
func commHost(state multistep.StateBag) (string, error) {
ipAddress := state.Get("server_ip").(string)
return ipAddress, nil
}