From 472d04ce953bc4f1beef174515c3041f1484336c Mon Sep 17 00:00:00 2001
From: MJB <mjb@it-innovation.soton.ac.uk>
Date: Mon, 4 Jun 2018 17:56:11 +0100
Subject: [PATCH] added port mapping from vagrant VM host to containers

---
 scripts/test/fixture.sh      | 8 ++++----
 src/test/clmctest/rspec.json | 3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/scripts/test/fixture.sh b/scripts/test/fixture.sh
index 480df55..8796983 100755
--- a/scripts/test/fixture.sh
+++ b/scripts/test/fixture.sh
@@ -198,8 +198,8 @@ for service_name in $service_names; do
                 ;;
         esac
     fi
-
-    
-    echo "------>Create iptables summary"
-    iptables -t nat -L -n -v
 done
+
+echo "------>Create iptables summary"
+iptables -t nat -L -n -v
+iptables-save
diff --git a/src/test/clmctest/rspec.json b/src/test/clmctest/rspec.json
index 45601bd..97d18cd 100644
--- a/src/test/clmctest/rspec.json
+++ b/src/test/clmctest/rspec.json
@@ -7,7 +7,8 @@
     "forward_ports": [
         { "guest": 8086, "host": 8086 },
         { "guest": 8888, "host": 8888 },
-        { "guest": 9092, "host": 9092 }
+        { "guest": 9092, "host": 9092 },
+        { "guest": 9080, "host": 9080 }    
     ]
 },
 {
-- 
GitLab