1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
"_Copyright": "Copyright (c) 2010-2019 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": "file",
"source": "./check_prox_system_setup.sh",
"destination": "/home/centos/"
},
{
"type": "file",
"source": "./check-prox-system-setup.service",
"destination": "/home/centos/"
},
{
"type": "file",
"source": "./sharkproxlog.sh",
"destination": "/home/centos/"
},
{
"type": "file",
"source": "./deploycentostools.sh",
"destination": "/home/centos/"
},
{
"type": "shell",
"inline": [
"chmod a+x /home/centos/deploycentostools.sh",
"/home/centos/deploycentostools.sh -u deploy" ]
}
]
}
|