This repository has been archived by the owner on May 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dockerhost_local.json
66 lines (66 loc) · 1.84 KB
/
dockerhost_local.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": {
"debian_version": "9.2.1",
"box_version": "1.0.0"
},
"builders": [
{
"type": "virtualbox-iso",
"iso_checksum_type": "sha256",
"iso_checksum": "ec78bc48b48d676775b60eda41528ec33c151c2ce7414a12b13d9b73d34de544",
"iso_url": "http://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/debian-{{user `debian_version`}}-amd64-netinst.iso",
"boot_command": [
"<esc> ",
"install ",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
"debian-installer=de_DE ",
"auto ",
"locale=de_DE ",
"kbd-chooser/method=de ",
"netcfg/get_hostname=dockerhost.dd ",
"netcfg/get_domain=dockerhost.dd ",
"fb=false ",
"debconf/frontend=noninteractive ",
"console-setup/ask_detect=false ",
"console-keymaps-at/keymap=de ",
"keyboard-configuration/xkb-keymap=de ",
"<enter>"
],
"boot_wait": "10s",
"disk_size": "50000",
"guest_additions_mode": "upload",
"guest_os_type": "Debian_64",
"headless": false,
"http_directory": "http",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -h now",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "1000s",
"vm_name": "debian-{{user `debian_version`}}"
}
],
"provisioners": [
{
"type": "shell",
"scripts": [
"scripts/base.sh",
"scripts/vagrant.sh",
"scripts/install_software.sh",
"scripts/virtualbox.sh",
"scripts/cleanup.sh"
],
"override": {
"virtualbox-iso": {
"execute_command": "echo 'vagrant' | sudo -S sh '{{ .Path }}'"
}
}
}
],
"post-processors": [[
{
"type": "vagrant",
"keep_input_artifact": false
}
]]
}