-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCentOS-7-x86_64.json
40 lines (40 loc) · 1.78 KB
/
CentOS-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
{
"builders": [{
"name": "CentOS-7-x86_64",
"type": "virtualbox-iso",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"virtualbox_version_file": ".vbox_version",
"guest_os_type": "RedHat_64",
"iso_url": "https://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1511.iso",
"iso_checksum": "9ed9ffb5d89ab8cca834afce354daa70a21dcb410f58287d6316259ff89758f5",
"iso_checksum_type": "sha256",
"ssh_username": "root",
"ssh_password": "root",
"ssh_wait_timeout": "10000s",
"http_directory": "kickstarts",
"boot_wait": "5s",
"boot_command": [ "<up><tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter>"],
"shutdown_command": "/sbin/halt -h -p",
"disk_size": 20480,
"vboxmanage": [
["modifyvm", "{{.Name}}", "--cpus", "2"],
["modifyvm", "{{.Name}}", "--memory", "2048"]
]
}],
"provisioners": [{
"type": "shell",
"execute_command": "bash '{{.Path}}'",
"scripts": [
"scripts/vagrant.sh",
"scripts/virtualbox.sh",
"scripts/minimize.sh",
"scripts/clean.sh"
]
}],
"post-processors": [{
"type": "vagrant",
"output": "CentOS-7-x86_64-{{.Provider}}.box",
"compression_level": 9,
"keep_input_artifact": false
}]
}