-
Notifications
You must be signed in to change notification settings - Fork 0
/
vb-centos7-openshift-node-np.json
45 lines (45 loc) · 1.67 KB
/
vb-centos7-openshift-node-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
{
"_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`}}",
"hard_drive_interface":"sata",
"sata_port_count":"2",
"disk_size": "5000",
"headless": true,
"http_directory": "kickstart",
"boot_wait": "5s",
"boot_command": [
"<tab> ",
"inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos-openshift-node.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"],
["createmedium", "disk", "--filename", "{{.Name}}.vdi", "--size", "20000"],
["storageattach", "{{.Name}}", "--storagectl", "SATA Controller", "--port", "1", "--type", "hdd", "--medium", "{{.Name}}.vdi"]
]
}],
"variables": {
"name": "vb-centos7-openshift-node-np",
"compression_level": "6",
"mirror": "http://mirrors.ircam.fr/pub/CentOS"
}
}