func (d *Driver) waitForIP() (string, error) {
	log.Infof("Waiting for host to start...")

	for {
		ip, _ := d.GetIP()
		if ip != "" {
			return ip, nil
		}

		time.Sleep(1 * time.Second)
	}
}
func (d *Driver) waitForIP() (string, error) {
	log.Infof("Waiting for host to start...")

	for {
		ip, _ := d.GetIP()
		if ip != "" {
			return ip, nil
		}

		time.Sleep(1 * time.Second)
	}
}
func ( d * Driver ) waitForIP ( ) ( string , error ) { log . Infof ( " " ) for { ip , _ := d . GetIP ( ) if ip != " " { return ip , nil } time . Sleep ( 1 * time . Second ) } }
// waitForIP waits until the host has a valid IP
waitForIP waits until the host has a valid IP