diff options
author | Luc Provoost <luc.provoost@intel.com> | 2020-06-02 16:02:17 +0200 |
---|---|---|
committer | Luc Provoost <luc.provoost@intel.com> | 2020-06-02 17:40:20 +0200 |
commit | 7e14b29cb65ef871bbc320e1e35e8f4e0b36a8ed (patch) | |
tree | f0b6827b356053c6e6264aa3f3b4f68399586eb8 /VNFs/DPPD-PROX/helper-scripts/rapid/centos.json | |
parent | e9cc52b379528413b1d87a05baa8ff14f0328b4e (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/centos.json')
-rw-r--r-- | VNFs/DPPD-PROX/helper-scripts/rapid/centos.json | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/centos.json b/VNFs/DPPD-PROX/helper-scripts/rapid/centos.json index d7d8f1d4..51784c0e 100644 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/centos.json +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/centos.json @@ -17,30 +17,36 @@ ], "provisioners": [ { + "type": "shell", + "inline": [ + "sudo mkdir -p /opt/rapid", + "sudo chmod 0777 /opt/rapid" ] + }, + { "type": "file", "source": "./check_prox_system_setup.sh", - "destination": "~/" + "destination": "/opt/rapid/" }, { "type": "file", "source": "./check-prox-system-setup.service", - "destination": "~/" + "destination": "/opt/rapid/" }, { "type": "file", "source": "./sharkproxlog.sh", - "destination": "~/" + "destination": "/opt/rapid/" }, { "type": "file", "source": "./deploycentostools.sh", - "destination": "~/" + "destination": "/opt/rapid/" }, { "type": "shell", "inline": [ - "chmod a+x ~/deploycentostools.sh", - "~/deploycentostools.sh -u deploy" ] + "chmod a+x /opt/rapid/deploycentostools.sh", + "/opt/rapid/deploycentostools.sh -u deploy" ] } ] } |