-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbasic_jessie64.json
67 lines (67 loc) · 1.82 KB
/
basic_jessie64.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
67
{
"builders": [{
"type": "virtualbox-iso",
"guest_os_type": "Debian_64",
"guest_additions_mode": "upload",
"disk_size": 10000,
"iso_url": "http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/debian-8.6.0-amd64-netinst.iso",
"iso_checksum": "e9f61bf327db6d8f7cee05a99f2353cc",
"iso_checksum_type": "md5",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_wait_timeout": "600s",
"http_directory": "http",
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=vagrantup.com <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"<enter><wait5><enter>"
],
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P -h now"
}],
"provisioners": [{
"type": "file",
"source": "files/etc",
"destination": "/tmp"
}, {
"type": "shell",
"scripts": [
"provision-basic.sh",
"provision-inputrc-jessie.sh",
"provision-vimrc-jessie.sh"
],
"override": {
"virtualbox-iso": {
"execute_command": "echo 'vagrant' | sudo -S bash {{.Path}}"
}
}
}, {
"type": "shell",
"scripts": [
"provision-guest-additions.sh",
"provision-sudo.sh",
"provision-vagrant-key.sh",
"provision-zerofree.sh"
],
"only": ["virtualbox-iso"],
"override": {
"virtualbox-iso": {
"execute_command": "echo 'vagrant' | sudo -S bash {{.Path}}"
}
}
}],
"post-processors": [{
"type": "vagrant",
"compression_level": 1
}]
}