-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathfedora-20-x86_64.json
52 lines (45 loc) · 1.5 KB
/
fedora-20-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
{
"builders": [{
"type": "virtualbox-iso",
"vm_name": "fedora-20-x86_64",
"virtualbox_version_file": ".vbox_version",
"headless": false,
"guest_os_type": "Fedora_64",
"disk_size": 40960,
"iso_url": "http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/20/Fedora/x86_64/iso/Fedora-20-x86_64-netinst.iso",
"iso_checksum": "376be7d4855ad6281cb139430606a782fd6189dcb01d7b61448e915802cc350f",
"iso_checksum_type": "sha256",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/fedora-20-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"
}],
"post-processors": [{
"output": "build/fedora-20-x86_64.box",
"type": "vagrant"
}],
"provisioners": [{
"type": "shell",
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/fedora/fix-slow-dns.sh",
"scripts/sshd.sh",
"scripts/vagrant_without_update.sh",
"scripts/puppet-bootstrap/fedora_20.sh",
"scripts/vboxguest.sh",
"scripts/fedora/cleanup.sh",
"scripts/minimize.sh"
]
}]
}