-
Notifications
You must be signed in to change notification settings - Fork 0
/
vb-centos7-openshift-master-np.json
48 lines (48 loc) · 1.54 KB
/
vb-centos7-openshift-master-np.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
{
"_comment": "Very limited Comment",
"builders": [{
"type": "virtualbox-iso",
"guest_additions_mode":"disabled",
"guest_os_type": "RedHat_64",
"iso_url": "/opt/iso/CentOS-7-x86_64-Minimal-1611.iso",
"iso_checksum": "27bd866242ee058b7a5754e83d8ee8403e216b93d130d800852a96f41c34d86a",
"iso_checksum_type": "sha256",
"vm_name": "{{user `name`}}",
"name": "{{user `name`}}",
"disk_size": "30000",
"hard_drive_interface":"sata",
"headless": true,
"http_directory": "kickstart",
"boot_wait": "5s",
"boot_command": [
"<tab> ",
"inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos-openshift-master.ks.cfg",
"<enter>"
],
"ssh_timeout": "15m",
"ssh_username": "toto",
"ssh_private_key_file": "/home/bruno/.ssh/id_ecdsa",
"shutdown_command": "sudo systemctl poweroff",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "8096"],
["modifyvm", "{{.Name}}", "--cpus", "2"],
["modifyvm", "{{.Name}}", "--audio", "none"],
["modifyvm", "{{.Name}}", "--paravirtprovider", "kvm"],
["modifyvm", "{{.Name}}", "--vrde", "off"],
["modifyvm", "{{.Name}}", "--nic1", "nat"],
["modifyvm", "{{.Name}}", "--nic2", "hostonly"],
["modifyvm", "{{.Name}}", "--hostonlyadapter2", "vboxnet0"]
]
}],
"provisioners": [{
"type": "shell",
"scripts": [
"provisioners/shell/openshift.sh"
]
}],
"variables": {
"name": "vb-centos7-openshift-master-np",
"compression_level": "6",
"mirror": "http://mirrors.ircam.fr/pub/CentOS"
}
}