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-x86_64.json
71 lines (71 loc) · 2.06 KB
/
centos6.4-x86_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
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",
"type": "vmware",
"guest_os_type": "centos-64",
"http_directory": "http",
"iso_checksum": "0128cfc7c86072b13ee80dd013e0e5d7",
"iso_url": "/Volumes/MyPassport/isos/CentOS-6.4-x86_64-bin-DVD1.iso",
"iso_checksum_type": "md5",
"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",
"type": "virtualbox",
"http_directory": "http",
"iso_checksum": "0128cfc7c86072b13ee80dd013e0e5d7",
"iso_url": "/Volumes/MyPassport/isos/CentOS-6.4-x86_64-bin-DVD1.iso",
"iso_checksum_type": "md5",
"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": true,
"output": "./centos6.4_64.box"
}]
}