diff options
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/centos.json')
-rw-r--r-- | VNFs/DPPD-PROX/helper-scripts/rapid/centos.json | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/centos.json b/VNFs/DPPD-PROX/helper-scripts/rapid/centos.json new file mode 100644 index 00000000..51784c0e --- /dev/null +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/centos.json @@ -0,0 +1,52 @@ +{ +"_Copyright": "Copyright (c) 2010-2020 Intel Corporation", +"_License": "SPDX-License-Identifier: Apache-2.0", +"builders": [ + { +"type": "openstack", +"ssh_username": "centos", +"image_name": "rapidVM", +"source_image_name": "CentOS", +"flavor": "packer_flavor", +"network_discovery_cidrs":"10.6.6.0/24", +"floating_ip_network": "admin_floating_net", +"security_groups": "prox_security_group", +"ssh_timeout":"1000s", +"ssh_pty":"true" + } +], +"provisioners": [ + { + "type": "shell", + "inline": [ + "sudo mkdir -p /opt/rapid", + "sudo chmod 0777 /opt/rapid" ] + }, + { + "type": "file", + "source": "./check_prox_system_setup.sh", + "destination": "/opt/rapid/" + }, + { + "type": "file", + "source": "./check-prox-system-setup.service", + "destination": "/opt/rapid/" + }, + { + "type": "file", + "source": "./sharkproxlog.sh", + "destination": "/opt/rapid/" + }, + { + "type": "file", + "source": "./deploycentostools.sh", + "destination": "/opt/rapid/" + }, + { + "type": "shell", + "inline": [ + "chmod a+x /opt/rapid/deploycentostools.sh", + "/opt/rapid/deploycentostools.sh -u deploy" ] + } +] +} |