Browse Source

Set IPAddress parameter, fixing Rancher 2.0 issue

ipaddress_pr
Fábio Kaiser Rauber 6 years ago
parent
commit
e13980045c
  1. 1
      xenserver/xenserver.go

1
xenserver/xenserver.go

@ -586,6 +586,7 @@ func (d *Driver) wait(timeout time.Duration) (err error) {
} }
addr := fmt.Sprintf("%s:%d", ip, port) addr := fmt.Sprintf("%s:%d", ip, port)
d.IPAddress = ip
log.Infof("Got VM address(%v), Now waiting for SSH", addr) log.Infof("Got VM address(%v), Now waiting for SSH", addr)
out <- drivers.WaitForSSH(d) out <- drivers.WaitForSSH(d)
}(ctx, out) }(ctx, out)

Loading…
Cancel
Save