summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/deploycentostools.sh
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@intel.com>2020-06-02 16:02:17 +0200
committerLuc Provoost <luc.provoost@intel.com>2020-06-02 17:40:20 +0200
commit7e14b29cb65ef871bbc320e1e35e8f4e0b36a8ed (patch)
treef0b6827b356053c6e6264aa3f3b4f68399586eb8 /VNFs/DPPD-PROX/helper-scripts/rapid/deploycentostools.sh
parente9cc52b379528413b1d87a05baa8ff14f0328b4e (diff)
Using /opt/rapid to run prox
All config files are now copied into /opt/rapid. We are not using the home directory any more. The prox executable is now also copied into the same /opt/rapid. Change-Id: I838636167f370bf8a855a3cfb0796c659e27a3ad Signed-off-by: Luc Provoost <luc.provoost@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/deploycentostools.sh')
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/deploycentostools.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/deploycentostools.sh b/VNFs/DPPD-PROX/helper-scripts/rapid/deploycentostools.sh
index d19abbe7..345b0811 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/deploycentostools.sh
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/deploycentostools.sh
@@ -82,9 +82,9 @@ function os_cfg()
# Install the check_tuned_params service to make sure that the grub cmd line has the right cpus in isolcpu. The actual number of cpu's
# assigned to this VM depends on the flavor used. We don't know at this time what that will be.
- ${SUDO} chmod +x ${HOME}/check_prox_system_setup.sh
- ${SUDO} mv ${HOME}/check_prox_system_setup.sh /usr/local/libexec/
- ${SUDO} mv ${HOME}/check-prox-system-setup.service /etc/systemd/system/
+ ${SUDO} chmod +x ${BUILD_DIR}/check_prox_system_setup.sh
+ ${SUDO} mv ${BUILD_DIR}/check_prox_system_setup.sh /usr/local/libexec/
+ ${SUDO} mv ${BUILD_DIR}/check-prox-system-setup.service /etc/systemd/system/
${SUDO} systemctl daemon-reload
${SUDO} systemctl enable check-prox-system-setup.service
# Following lines are added to fix the following issue: When the VM gets
@@ -177,7 +177,7 @@ function prox_compile()
# Compile PROX
pushd ${BUILD_DIR}/samplevnf/VNFs/DPPD-PROX
make -j`getconf _NPROCESSORS_ONLN`
- ${SUDO} cp ${BUILD_DIR}/samplevnf/VNFs/DPPD-PROX/build/app/prox ${HOME}/prox
+ ${SUDO} cp ${BUILD_DIR}/samplevnf/VNFs/DPPD-PROX/build/app/prox ${BUILD_DIR}/prox
popd > /dev/null 2>&1
}