-
Notifications
You must be signed in to change notification settings - Fork 26
/
opc_centos-6.7-x86_64.json
106 lines (106 loc) · 3.4 KB
/
opc_centos-6.7-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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"builders": [
{
"type": "virtualbox-iso",
"name": "centos-6.7-x86_64",
"boot_command": [
"<tab> text btrfs ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.7-x86_64/ks.cfg<enter><wait>"
],
"boot_wait": "12s",
"disk_size": 80960,
"guest_additions_mode": "disable",
"guest_os_type": "RedHat_64",
"headless": false,
"http_directory": "http",
"iso_checksum": "2ed5ea551dffc3e4b82847b3cee1f6cd748e8071",
"iso_checksum_type": "sha1",
"iso_url": "http://mirror.nl.leaseweb.net/centos/6.7/isos/x86_64/CentOS-6.7-x86_64-minimal.iso",
"shutdown_command": "/sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "root",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"512"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
],
"virtualbox_version_file": ".vbox_version"
},
{
"type": "qemu",
"name": "opc-centos-6.7-x86_64",
"accelerator": "kvm",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks_cloud_centos.cfg<enter><wait>"
],
"disk_interface": "virtio",
"disk_size": 2500,
"format": "raw",
"headless": true,
"http_directory": "http",
"http_port_max": 10089,
"http_port_min": 10082,
"iso_checksum": "2ed5ea551dffc3e4b82847b3cee1f6cd748e8071",
"iso_checksum_type": "sha1",
"iso_url": "http://mirror.nl.leaseweb.net/centos/6.7/isos/x86_64/CentOS-6.7-x86_64-minimal.iso",
"shutdown_command": "/sbin/halt -h -p",
"net_device": "virtio-net",
"qemuargs": [
[
"-m",
"1024m"
],
[
"-machine",
"type=pc,accel=kvm"
],
[
"-device",
"virtio-net-pci,netdev=user.0"
]
],
"shutdown_command": "shutdown -P now",
"ssh_host_port_max": 2229,
"ssh_host_port_min": 2222,
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "root",
"ssh_wait_timeout": "90m",
"vm_name": "centos6.7_opc"
}
],
"post-processors": [
{
"compression_level": 6,
"type": "vagrant",
"output": "build/{{user `name`}}.box",
"only": ["centos-6.7-x86_64"]
},
{
"compression_level": 6,
"type": "compress",
"output": "build/{{user `name`}}.tar.gz",
"only": ["opc-centos-6.7-x86_64"]
}
],
"provisioners": [
{
"scripts": [
"scripts/centos_6_x_network.sh",
"scripts/compact.sh"
],
"type": "shell"
}
]
}