From 094c4cf02bf75ed3e5bd227f7b4cfe614f386871 Mon Sep 17 00:00:00 2001 From: Nick Livens Date: Wed, 15 Jun 2016 14:47:50 +0200 Subject: [PATCH] CLOUDSTACK-9416 : Enabling Static NAT on an associated Public IP to one of the NICs (networks) of a multi-NIC VM fails due to a wrong (default) Guest VM IP being selected in the GUI --- ui/scripts/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 704f3991395..428807e4111 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -89,7 +89,7 @@ url: createURL('listNics'), data: { virtualmachineid: instance.id, - nicId: instance.nic[0].id + networkId: network.id }, success: function(json) { var nic = json.listnicsresponse.nic[0];