summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/centos.json
diff options
context:
space:
mode:
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/centos.json')
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/centos.json18
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" ]
}
]
}