-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcentos-6-web.json
58 lines (58 loc) · 1.43 KB
/
centos-6-web.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
{
"variables": {
"build_version": "{{env `BUILD_VERSION`}}"
},
"builders": [
{
"name": "centos-6-web",
"type": "virtualbox-iso",
"guest_os_type": "RedHat_64",
"iso_urls": [
"src/CentOS-6.7-x86_64-minimal.iso",
"http://www.mirrorservice.org/sites/mirror.centos.org/6.7/isos/x86_64/CentOS-6.7-x86_64-minimal.iso"
],
"iso_checksum": "9381a24b8bee2fed0c26896141a64b69",
"iso_checksum_type": "md5",
"guest_additions_url": "src/VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_path": "VBoxGuestAdditions.iso",
"disk_size": 10240,
"hard_drive_interface": "sata",
"http_directory": "http",
"boot_command": [
"<tab> text ks=http://{{.HTTPIP}}:{{.HTTPPort}}/ks.cfg<enter>"
],
"boot_wait": "3s",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_wait_timeout": "60m",
"shutdown_command": "sudo /sbin/halt -p now",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "1024"],
["modifyvm", "{{.Name}}", "--cpus", "1"]
],
"vm_name": "centos-6-web",
"headless": "true"
}
],
"provisioners": [
{
"type": "shell",
"scripts": [
"scripts/dns_fix.sh",
"scripts/vagrant.sh",
"scripts/base.sh",
"scripts/ssh.sh",
"scripts/virtualbox.sh",
"scripts/web.sh",
"scripts/cleanup.sh"
]
}
],
"post-processors": [
{
"type": "vagrant",
"compression_level": 9,
"output": "builds/{{.BuildName}}-{{user `build_version`}}.box"
}
]
}