-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdebian-8.2.0-amd64.json
66 lines (54 loc) · 1.59 KB
/
debian-8.2.0-amd64.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
58
59
60
61
62
63
64
65
66
{
"variables": {
"ssh_user": "vagrant",
"ssh_pass": "vagrant",
"name": "debian820"
},
"builders": [{
"type": "virtualbox-iso",
"guest_os_type": "Debian_64",
"guest_additions_mode": "upload",
"headless": "false",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "512"],
["modifyvm", "{{.Name}}", "--cpus", "1"]
],
"vboxmanage_post": [
["modifyvm", "{{.Name}}", "--nic1", "intnet"],
["modifyvm", "{{.Name}}", "--intnet1", "malwarelab"]
],
"disk_size": "5120",
"output_directory": "builds",
"iso_url": "http://mirror.internode.on.net/pub/debian-cd/current/amd64/iso-cd/debian-8.3.0-amd64-netinst.iso",
"iso_checksum": "bbc286b59fcbabd0a1cab7fb083d98ae133ff909",
"iso_checksum_type": "sha1",
"http_directory": "installconfig",
"ssh_username": "{{user `ssh_user`}}",
"ssh_password": "{{user `ssh_pass`}}",
"ssh_wait_timeout": "20m",
"shutdown_command": "echo {{user `ssh_pass`}} | sudo -S shutdown -P now",
"boot_wait": "10s",
"boot_command": [
"<esc><wait>",
"auto url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian/preseed.cfg ",
"hostname={{user `name`}}",
"<enter>"
]
}],
"post-processors": [{
"type": "vagrant",
"output": "boxes/{{user `name`}}.box",
"vagrantfile_template": "vagrantfiles/debian-8.2.0-amd64.rb"
}],
"provisioners": [{
"type": "shell",
"execute_command": "echo {{user `ssh_user`}} | sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/common/vagrantkey.sh",
"scripts/debian/vmtools.sh",
"scripts/debian/installtools.sh",
"scripts/debian/setnetwork.sh",
"scripts/debian/cleanup.sh"
]
}]
}