forked from gwagner/packer-centos
-
Notifications
You must be signed in to change notification settings - Fork 12
/
centos-x86_64_local-repo.json
113 lines (112 loc) · 2.81 KB
/
centos-x86_64_local-repo.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"builders": [
{
"boot_command": [
"<esc>",
"<wait>linux ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/anaconda-ks.cfg<enter>"
],
"boot_wait": "5s",
"disk_size": 40000,
"guest_os_type": "RedHat_64",
"headless": true,
"http_directory": "./http_directory",
"iso_checksum": "939fd1d87c11ffe7795324438b85adfb",
"iso_checksum_type": "md5",
"iso_urls": [
"http://mirror.cisp.com/CentOS/6.5/isos/x86_64/CentOS-6.5-x86_64-netinstall.iso",
"http://mirror.ubiquityservers.com/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-netinstall.iso",
"http://mirrors.arsc.edu/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-netinstall.iso"
],
"output_directory": "/tmp/packer",
"shutdown_command": "shutdown -P now",
"ssh_password": "vagrant",
"ssh_username": "root",
"type": "virtualbox-iso"
},
{
"ami_block_device_mappings": [
{
"delete_on_termination": true,
"device_name": "/dev/sda"
}
],
"ami_name": "centos-6_5-64_percona {{timestamp}}",
"ami_regions": [
"us-west-1",
"eu-west-1"
],
"instance_type": "t1.micro",
"region": "us-east-1",
"source_ami": "ami-8997afe0",
"ssh_timeout": "5m",
"ssh_username": "root",
"type": "amazon-ebs"
}
],
"post-processors": [
{
"output": "boxes/centos-6_5-64_percona_local-repo_{{.Provider}}.box",
"override": {
"aws": {
"output": "boxes/centos-6_5-64_percona_local-repo_{{.Provider}}.box"
}
},
"type": "vagrant"
}
],
"provisioners": [
{
"script": "provisioners/no-tty-sudo.sh",
"type": "shell"
},
{
"script": "provisioners/disable-selinux.sh",
"type": "shell"
},
{
"script": "provisioners/disable-ssh-usedns.sh",
"type": "shell"
},
{
"script": "provisioners/ec2-set-device-names.sh",
"type": "shell"
},
{
"override": {
"amazon-ebs": {
"script": "provisioners/prepare-ec2-ssh-key.sh"
}
},
"script": "provisioners/prepare-vagrant-ssh-key.sh",
"type": "shell"
},
{
"script": "provisioners/prepare-vagrant-user.sh",
"type": "shell"
},
{
"script": "provisioners/install-guest-additions.sh",
"type": "shell"
},
{
"script": "provisioners/package-upgrades.sh",
"type": "shell"
},
{
"script": "provisioners/install-puppet.sh",
"type": "shell"
},
{
"script": "provisioners/prepare-local-percona-repo.sh",
"type": "shell"
},
{
"script": "provisioners/remove-extra-locales.sh",
"type": "shell"
},
{
"script": "provisioners/clean-empty-space.sh",
"type": "shell"
}
]
}