From 9fb595fa26ed70f92ccc751fc955912f3016b052 Mon Sep 17 00:00:00 2001
From: Martin Cuchran <cuchy@Martins-MacBook-Pro-4.local>
Date: Tue, 7 Feb 2017 19:57:12 +0100
Subject: [PATCH] fix

---
 Openstack/pv176-init.json | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Openstack/pv176-init.json b/Openstack/pv176-init.json
index ea54e33..78c5cd7 100644
--- a/Openstack/pv176-init.json
+++ b/Openstack/pv176-init.json
@@ -22,7 +22,9 @@
                 "resource_def":{
                     "type": "Lib::server_port",
                     "properties": { 
-                        "name": "PV176-port-%index%",
+                        "name": {
+                            "get_attr": ["pv176-vms","%index%"]
+                            },
                         "network":{
                             "get_attr": ["pv176-net","network_subnet"]
                             }
-- 
GitLab