-
Notifications
You must be signed in to change notification settings - Fork 26
/
centos-7-1708-x86_64.json
97 lines (84 loc) · 2.69 KB
/
centos-7-1708-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
{
"builders": [{
"type": "virtualbox-iso",
"virtualbox_version_file": ".vbox_version",
"headless": false,
"guest_os_type": "RedHat_64",
"disk_size": 100960,
"iso_url": "http://mirror.ams1.nl.leaseweb.net/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1708.iso",
"iso_checksum": "bba314624956961a2ea31dd460cd860a77911c1e0a56e4820a12b9c5dad363f5",
"iso_checksum_type": "sha256",
"boot_command": [
"<tab> net.ifnames=0 biosdevname=0 text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-7.0-x86_64/ks.cfg<enter><wait>"
],
"boot_wait": "12s",
"http_directory": "http",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "512"],
["modifyvm", "{{.Name}}", "--cpus", "1"]
],
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p"
},
{
"type": "vmware-iso",
"headless": true,
"guest_os_type": "centos-64",
"disk_size": 100960,
"iso_url": "http://mirror.ams1.nl.leaseweb.net/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1708.iso",
"iso_checksum": "bba314624956961a2ea31dd460cd860a77911c1e0a56e4820a12b9c5dad363f5",
"iso_checksum_type": "sha256",
"boot_command": [
"<tab> net.ifnames=0 biosdevname=0 text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-7.0-x86_64/ks.cfg<enter><wait>"
],
"boot_wait": "12s",
"http_directory": "http",
"tools_upload_flavor": "linux",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"vmx_data": {
"memsize": "512",
"numvcpus": "1",
"vhv.enable": "TRUE"
},
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p"
}],
"post-processors": [{
"output": "build/centos-7-1708-x86_64.box",
"type": "vagrant",
"only": ["virtualbox-iso"]
},
{
"output": "build/centos-7-1708-x86_64-{{.Provider}}.box",
"type": "vagrant",
"only": ["vmware-iso"]
}],
"provisioners": [{
"type": "shell",
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/vagrant.sh",
"scripts/puppet-bootstrap/centos_7_x.sh",
"scripts/vboxguest.sh",
"scripts/centos_7_x_network.sh",
"scripts/compact.sh"
],
"override": {
"vmware-iso": {
"scripts": [
"scripts/vagrant.sh",
"scripts/puppet-bootstrap/centos_7_x.sh",
"scripts/centos_7_3_vmtools.sh",
"scripts/centos_7_x_network.sh",
"scripts/compact.sh"
]
}
}
}]
}