-
Notifications
You must be signed in to change notification settings - Fork 42
/
packer-virtualbox-centos-6_4-64.json
43 lines (43 loc) · 1.33 KB
/
packer-virtualbox-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
42
43
{
"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": "bb9af2aea1344597e11070abe6b1fcd3",
"iso_checksum_type": "md5",
"iso_url": "http://mirrors.usinternet.com/centos/6.4/isos/x86_64/CentOS-6.4-x86_64-netinstall.iso",
"ssh_password": "vagrant",
"ssh_username": "root",
"ssh_wait_timeout": "20m",
"type": "virtualbox",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "1024"],
["modifyvm", "{{.Name}}", "--cpus", "2"]
],
"vm_name": "packer-centos-6_4-64"
}
],
"provisioners": [
{
"type": "shell",
"script": "provisioners/install-virtualbox-guest-additions.sh"
},
{
"type": "shell",
"script": "provisioners/clean-empty-space.sh"
}
],
"post-processors": [
{
"type": "vagrant",
"output": "centos-6_4-64_virtualbox.box"
}
]
}