This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
centos6.4-i386.json
71 lines (71 loc) · 2.15 KB
/
centos6.4-i386.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": [{
"vm_name": "centos64-i386",
"type": "vmware",
"guest_os_type": "centos-64",
"http_directory": "http",
"iso_url": "http://mirrors.kernel.org/centos/6.4/isos/i386/CentOS-6.4-i386-bin-DVD1.iso",
"iso_checksum": "4bd3a1de6f6dfcd7a2199487abf5a9304d696cae",
"iso_checksum_type": "sha1",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "linux",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort}}/ks.cfg<enter>"
],
"shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now",
"disk_size": 10140,
"vmx_data": {
"memsize": "512",
"numvcpus": "1",
"cpuid.coresPerSocket": "1"
}
},
{
"vm_name": "centos64-i386",
"type": "virtualbox",
"http_directory": "http",
"iso_url": "http://mirrors.kernel.org/centos/6.4/isos/i386/CentOS-6.4-i386-bin-DVD1.iso",
"iso_checksum": "4bd3a1de6f6dfcd7a2199487abf5a9304d696cae",
"iso_checksum_type": "sha1",
"guest_os_type": "RedHat_64",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"virtualbox_version_file": ".vbox_version",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_wait_timeout": "10000s",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort}}/ks.cfg<enter>"
],
"shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now",
"disk_size": 10140,
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "512"],
["modifyvm", "{{.Name}}", "--cpus", "1"]
]
}],
"provisioners": [{
"type": "shell",
"scripts": [
"script/base.sh",
"script/vagrant.sh",
"script/vmtools.sh",
"script/cleanup.sh",
"script/zerodisk.sh"
],
"override": {
"virtualbox": {
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
},
"vmware": {
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
}
}
}],
"post-processors": [{
"type": "vagrant",
"keep_input_artifact": false,
"output": "../../{{.Provider}}/centos64-i386.box"
}]
}