-
Notifications
You must be signed in to change notification settings - Fork 42
/
packer-vmware-centos-6_4-64.json
40 lines (40 loc) · 1.19 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
{
"builders": [
{
"boot_command": [
"<esc>",
"<wait>linux ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/anaconda-ks.cfg<enter>"
],
"boot_wait": "5s",
"disk_size": 40000,
"guest_os_type": "linux",
"headless": true,
"http_directory": "./http_directory",
"iso_md5": "bb9af2aea1344597e11070abe6b1fcd3",
"iso_url": "http://mirrors.usinternet.com/centos/6.4/isos/x86_64/CentOS-6.4-x86_64-netinstall.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"
}
],
"provisioners": [
{
"type": "shell",
"script": "provisioners/install-vmware-guest-additions.sh"
},
{
"type": "shell",
"script": "provisioners/clean-empty-space.sh"
}
],
"post-processors": [
{
"type": "vagrant",
"output": "centos-6_4-64_vmware.box"
}
]
}