-
Notifications
You must be signed in to change notification settings - Fork 0
/
vb-fedora-27.json
57 lines (57 loc) · 1.85 KB
/
vb-fedora-27.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
{
"builders": [{
"type": "virtualbox-iso",
"guest_os_type": "Fedora_64",
"iso_url": "{{user `mirror`}}/releases/27/Server/x86_64/iso/Fedora-Server-netinst-x86_64-27-1.6.iso",
"iso_checksum": "2b93836c38833b26891345388ff5ddea60529b27a616b4539d432a3520d1c90b",
"iso_checksum_type": "sha256",
"vm_name": "{{user `name`}}",
"name": "{{user `name`}}",
"disk_size": "5000",
"hard_drive_interface":"sata",
"headless": false,
"http_directory": "kickstart",
"boot_wait": "5s",
"boot_command": [
"<tab> ",
"inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/fedora.ks.cfg",
"<enter>"
],
"ssh_timeout": "15m",
"ssh_username": "toto",
"ssh_private_key_file": "/home/bruno2/.ssh/id_ecdsa",
"shutdown_command": "sudo systemctl poweroff",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "1024"],
["modifyvm", "{{.Name}}", "--cpus", "1"],
["modifyvm", "{{.Name}}", "--audio", "none"],
["modifyvm", "{{.Name}}", "--paravirtprovider", "kvm"],
["modifyvm", "{{.Name}}", "--vrde", "off"],
["modifyvm", "{{.Name}}", "--nic1", "nat"],
["modifyvm", "{{.Name}}", "--nic2", "hostonly"],
["modifyvm", "{{.Name}}", "--hostonlyadapter2", "vboxnet0"],
["modifyvm", "{{.Name}}", "--nictype1", "virtio"],
["modifyvm", "{{.Name}}", "--nictype2", "virtio"]
]
}],
"provisioners": [{
"type": "shell",
"scripts": [
"provisioners/shell/proxy.sh",
"provisioners/shell/virtualbox.sh",
"provisioners/shell/rpmfusion.sh"
]
},{
"type":"ansible",
"playbook_file":"provisioners/ansible/playbook.yml"
}],
"post-processors": [{
"type": "vagrant",
"compression_level": 9
}],
"variables": {
"name": "vb-fedora-27-np",
"compression_level": "6",
"mirror": "http://download.fedoraproject.org/pub/fedora/linux"
}
}