-
Notifications
You must be signed in to change notification settings - Fork 23
/
packer-marketplace.json
executable file
·74 lines (74 loc) · 1.84 KB
/
packer-marketplace.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
{
"min_packer_version": "1.3.0",
"variables": {},
"builders": [
{
"ami_description": "AWS Native Chef Stack OS 5.1.0",
"ami_groups": [
"all"
],
"ami_name": "aws-native-chef-server-5.1.{{isotime \"200601021504\"}}",
"communicator": "ssh",
"ebs_optimized": true,
"ena_support": true,
"sriov_support": true,
"instance_type": "t3.large",
"region": "us-east-1",
"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"
],
"source_ami_filter": {
"filters": {
"virtualization-type": "hvm",
"name": "centos-7-minimal-install-*",
"root-device-type": "ebs"
},
"owners": [
"self",
"446539779517"
],
"most_recent": true
},
"ssh_pty": true,
"ssh_username": "centos",
"tags": {},
"type": "amazon-ebs"
}
],
"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_ssm_agent.sh",
"scripts/config_chrony.sh",
"scripts/disable_kdump.sh",
"scripts/config_journald.sh",
"scripts/marketplace_dl.sh",
"scripts/install_final.sh"
]
}
]
}