ramp generator traffic & prox.log copy
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / centos.json
index 92617b8..51784c0 100644 (file)
@@ -1,5 +1,5 @@
 {
-"_Copyright": "Copyright (c) 2010-2019 Intel Corporation",
+"_Copyright": "Copyright (c) 2010-2020 Intel Corporation",
 "_License":   "SPDX-License-Identifier: Apache-2.0",
 "builders": [
    {
    }
 ],
 "provisioners": [
+   {
+   "type": "shell",
+   "inline": [
+     "sudo mkdir -p /opt/rapid",
+     "sudo chmod 0777 /opt/rapid" ]
+   },
    {
    "type": "file",
    "source": "./check_prox_system_setup.sh",
-   "destination": "/home/centos/"
+   "destination": "/opt/rapid/"
    },
    {
    "type": "file",
    "source": "./check-prox-system-setup.service",
-   "destination": "/home/centos/"
+   "destination": "/opt/rapid/"
    },
    {
    "type": "file",
    "source": "./sharkproxlog.sh",
-   "destination": "/home/centos/"
+   "destination": "/opt/rapid/"
    },
    {
    "type": "file",
    "source": "./deploycentostools.sh",
-   "destination": "/home/centos/"
+   "destination": "/opt/rapid/"
    },
    {
    "type": "shell",
    "inline": [
-     "chmod a+x /home/centos/deploycentostools.sh",
-     "/home/centos/deploycentostools.sh -u deploy" ]
+     "chmod a+x /opt/rapid/deploycentostools.sh",
+     "/opt/rapid/deploycentostools.sh -u deploy" ]
    }
 ]
 }