-
Notifications
You must be signed in to change notification settings - Fork 0
/
debian-current-stable-vagrant.json
executable file
·47 lines (47 loc) · 1.27 KB
/
debian-current-stable-vagrant.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
{
"variables": {
"HASH": "{{env `MD5`}}"
},
"builders": [
{
"type" : "virtualbox-iso",
"guest_os_type": "Debian_64",
"iso_url": "http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.0.0-amd64-netinst.iso",
"iso_checksum": "f31779fcca35f5ce9833a9661a9bd5bd",
"iso_checksum_type": "md5",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_wait_timeout": "25m",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
"http_directory": ".",
"boot_command": [
"<esc><wait>",
"install ",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
"auto ",
"debconf/frontend=noninteractive ",
"console-setup/ask_detect=false ",
"debian-installer=en_US ",
"locale=en_US ",
"kbd-chooser/method=us ",
"console-keymaps-at/keymap=us ",
"keyboard-configuration/xkb-keymap=us ",
"netcfg/get_hostname={{ .Name }} ",
"netcfg/get_domain=home.org <enter>"
]
}
],
"provisioners": [
{
"type": "shell",
"script": "provisioning.sh",
"execute_command": "echo 'vagrant' | sudo -S sh '{{ .Path }}'"
}
],
"post-processors": [
{
"type": "vagrant",
"output": "debian-current-stable-vagrant.box"
}
]
}