From e13980045cc015d6b5c983f18933f46039158e29 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Thu, 9 Aug 2018 14:50:52 -0300 Subject: [PATCH] Set IPAddress parameter, fixing Rancher 2.0 issue --- xenserver/xenserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/xenserver/xenserver.go b/xenserver/xenserver.go index adce0f7..1d0dedc 100644 --- a/xenserver/xenserver.go +++ b/xenserver/xenserver.go @@ -586,6 +586,7 @@ func (d *Driver) wait(timeout time.Duration) (err error) { } addr := fmt.Sprintf("%s:%d", ip, port) + d.IPAddress = ip log.Infof("Got VM address(%v), Now waiting for SSH", addr) out <- drivers.WaitForSSH(d) }(ctx, out)