Browse Source

Set IPAddress parameter, fixing Rancher 2.0 issue

master v0.1.4-beta.1
Fábio Kaiser Rauber 6 years ago
parent
commit
0b219862ff
  1. 1
      xenserver/xenserver.go

1
xenserver/xenserver.go

@ -649,6 +649,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