From 0b219862ff08abebc3f2edb67428c4f37cb1e395 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 884d062..2e314ab 100644 --- a/xenserver/xenserver.go +++ b/xenserver/xenserver.go @@ -649,6 +649,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)