Reinstate installation of igb_uio
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / centos.json
1 {
2 "_Copyright": "Copyright (c) 2010-2020 Intel Corporation",
3 "_License":   "SPDX-License-Identifier: Apache-2.0",
4 "builders": [
5    {
6 "type": "openstack",
7 "ssh_username": "centos",
8 "image_name": "rapidVM",
9 "source_image_name": "CentOS",
10 "flavor": "packer_flavor",
11 "network_discovery_cidrs":"10.6.6.0/24",
12 "floating_ip_network": "admin_floating_net",
13 "security_groups": "prox_security_group",
14 "ssh_timeout":"1000s",
15 "ssh_pty":"true"
16    }
17 ],
18 "provisioners": [
19    {
20    "type": "shell",
21    "inline": [
22      "sudo mkdir -p /opt/rapid",
23      "sudo chmod 0777 /opt/rapid" ]
24    },
25    {
26    "type": "file",
27    "source": "./check_prox_system_setup.sh",
28    "destination": "/opt/rapid/"
29    },
30    {
31    "type": "file",
32    "source": "./check-prox-system-setup.service",
33    "destination": "/opt/rapid/"
34    },
35    {
36    "type": "file",
37    "source": "./sharkproxlog.sh",
38    "destination": "/opt/rapid/"
39    },
40    {
41    "type": "file",
42    "source": "./deploycentostools.sh",
43    "destination": "/opt/rapid/"
44    },
45    {
46    "type": "shell",
47    "inline": [
48      "chmod a+x /opt/rapid/deploycentostools.sh",
49      "/opt/rapid/deploycentostools.sh -u deploy" ]
50    }
51 ]
52 }