forked from jayjanssen/packer-percona
-
Notifications
You must be signed in to change notification settings - Fork 2
/
rhel-x86_64-hvm.json
72 lines (71 loc) · 1.59 KB
/
rhel-x86_64-hvm.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
{
"builders": [
{
"type": "amazon-ebs",
"ami_block_device_mappings": [
{
"device_name": "/dev/sda1",
"volume_type": "gp2",
"delete_on_termination": true
}
],
"ami_name": "rhel-6_6-64_chef_packer_irving_hvm {{isotime | clean_ami_name}}",
"ami_regions": [
"us-west-1",
"us-west-2"
],
"instance_type": "t2.micro",
"enhanced_networking": true,
"region": "us-east-1",
"source_ami": "ami-aed06ac6",
"ssh_timeout": "5m",
"ssh_username": "ec2-user"
}
],
"post-processors": [
{
"output": "boxes/rhel-6_6-64_chef_packer_irving_hvm_{{.Provider}}.box",
"override": {
"aws": {
"output": "boxes/rhel-6_6-64_chef_packer_irving_hvm_{{.Provider}}.box"
}
},
"type": "vagrant"
}
],
"provisioners": [
{
"override": {
"amazon-ebs": {
"script": "provisioners/prepare-ec2-ssh-key.sh"
}
},
"script": "provisioners/prepare-vagrant-ssh-key.sh",
"type": "shell"
},
{
"script": "provisioners/disable-ephemeral-mounts.sh",
"type": "shell"
},
{
"script": "provisioners/disable-selinux.sh",
"type": "shell"
},
{
"script": "provisioners/cloud-init.sh",
"type": "shell"
},
{
"script": "provisioners/package-upgrades.sh",
"type": "shell"
},
{
"script": "provisioners/install-chef.sh",
"type": "shell"
},
{
"script": "provisioners/install-chef-gems.sh",
"type": "shell"
}
]
}