-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpacker.json
executable file
·93 lines (93 loc) · 2.5 KB
/
packer.json
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"min_packer_version": "1.3.0",
"variables": {},
"builders": [
{
"ami_block_device_mappings": [
{
"device_name": "/dev/sda1",
"volume_type": "gp2",
"volume_size": 8,
"delete_on_termination": true
},
{
"device_name": "/dev/sdb",
"virtual_name": "ephemeral0"
},
{
"device_name": "/dev/sdc",
"virtual_name": "ephemeral1"
}
],
"ami_description": "High Performance Image for CentOS 7, by Chef. Includes docker, ChefDK, Puppet, AWS SSM Agent, and latest security patches. https://github.com/irvingpop/packer-chef-highperf-centos7-ami",
"ami_groups": [
"all"
],
"ami_name": "chef-highperf-centos7-{{isotime \"200601021504\"}}",
"ami_regions": [
"ap-northeast-1",
"ap-northeast-2",
"ap-south-1",
"ap-southeast-1",
"ap-southeast-2",
"ca-central-1",
"eu-central-1",
"eu-north-1",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"sa-east-1",
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2"
],
"communicator": "ssh",
"ebs_optimized": true,
"ena_support": true,
"sriov_support": true,
"instance_type": "t3.large",
"region": "us-east-1",
"source_ami_filter": {
"filters": {
"virtualization-type": "hvm",
"name": "centos-7-minimal-install-*",
"root-device-type": "ebs"
},
"owners": [
"446539779517"
],
"most_recent": true
},
"ssh_pty": true,
"ssh_username": "centos",
"tags": {},
"type": "amazon-ebs"
}
],
"post-processors": [],
"provisioners": [
{
"type": "shell",
"execute_command": "echo 'packer' | sudo -S env {{ .Vars }} {{ .Path }}",
"scripts": [
"scripts/update_system.sh",
"scripts/update_grub.sh",
"scripts/disable_selinux.sh",
"scripts/config_sshd.sh",
"scripts/tune_system.sh",
"scripts/install_essentials.sh",
"scripts/install_admin_tools.sh",
"scripts/install_aws_compatibiliy.sh",
"scripts/install_chef.sh",
"scripts/install_docker.sh",
"scripts/install_puppet.sh",
"scripts/install_ssm_agent.sh",
"scripts/config_chrony.sh",
"scripts/disable_kdump.sh",
"scripts/config_journald.sh",
"scripts/install_final.sh"
]
}
]
}