From a988aee7a81e61f68db92e7f03c9800f68c25e9b Mon Sep 17 00:00:00 2001 From: KAJIKAWA Haruhiko Date: Tue, 16 Oct 2018 15:02:58 +0900 Subject: [PATCH] Setting IPAddress field --- cloudstack.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cloudstack.go b/cloudstack.go index c418ec4..384ae54 100644 --- a/cloudstack.go +++ b/cloudstack.go @@ -345,6 +345,7 @@ func (d *Driver) Create() error { d.Id = vm.Id d.PrivateIP = vm.Nic[0].Ipaddress + d.IPAddress = vm.Nic[0].Ipaddress if d.NetworkType == "Basic" { d.PublicIP = d.PrivateIP }