summaryrefslogtreecommitdiffstats
path: root/vnfs
diff options
context:
space:
mode:
authorItohan <itohan.ukponmwan@intel.com>2017-11-14 20:30:04 -0800
committerItohan <itohan.ukponmwan@intel.com>2017-11-14 20:30:04 -0800
commit640071642bb49c3aea5f4decedc213e5974f3a1a (patch)
treeda63632589a38deeed1047389d5ab3dc4c84665b /vnfs
parente190d0dbb1bce4faad8dcbcbe01d116dd00f702c (diff)
Fixed bug in v_brgemu_install.sh
Moved creation of nat_service.sh to an if block Issue-ID: INT-63 Change-Id: I44a86012dd08359859c24c41a7c6693b9b3429a2 Signed-off-by: Itohan <itohan.ukponmwan@intel.com>
Diffstat (limited to 'vnfs')
-rwxr-xr-xvnfs/vCPE/scripts/v_brgemu_install.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/vnfs/vCPE/scripts/v_brgemu_install.sh b/vnfs/vCPE/scripts/v_brgemu_install.sh
index f8824f97..e3a32fd5 100755
--- a/vnfs/vCPE/scripts/v_brgemu_install.sh
+++ b/vnfs/vCPE/scripts/v_brgemu_install.sh
@@ -326,10 +326,10 @@ do
sleep 1
done
EOF
+
chmod +x /opt/set_nat.sh
-fi # endif BUILD_STATE != "build"
-#Create script to run bind_nic.sh and set_nat.sh
+ #Create script to run bind_nic.sh and set_nat.sh
cat > /opt/nat_service.sh << 'EOF'
#! /bin/bash
@@ -340,6 +340,8 @@ sleep 15
EOF
chmod +x /opt/nat_service.sh
+fi # endif BUILD_STATE != "build"
+
if [[ $BUILD_STATE != "done" ]]
then