forked from gwagner/packer-centos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
packer-vmware-centos-6_4-64.json
42 lines (41 loc) · 1.04 KB
/
packer-vmware-centos-6_4-64.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
{
"builders": [
{
"boot_command": [
"<esc>",
"<wait>linux ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/anaconda-ks.cfg<enter>"
],
"boot_wait": "5s",
"disk_size": 20480,
"guest_os_type": "linux",
"headless": true,
"http_directory": "./http_directory",
"iso_checksum": "4a5fa01c81cc300f4729136e28ebe600",
"iso_checksum_type": "md5",
"iso_url": "http://mirrors.usinternet.com/centos/6.4/isos/x86_64/CentOS-6.4-x86_64-minimal.iso",
"skip_compaction": true,
"ssh_password": "vagrant",
"ssh_username": "root",
"ssh_wait_timeout": "20m",
"tools_upload_flavor": "linux",
"type": "vmware",
"vm_name": "packer-centos-6_4-64"
}
],
"post-processors": [
{
"output": "centos-6_4-64_vmware.box",
"type": "vagrant"
}
],
"provisioners": [
{
"script": "provisioners/install-vmware-guest-additions.sh",
"type": "shell"
},
{
"script": "provisioners/clean-empty-space.sh",
"type": "shell"
}
]
}