-
Notifications
You must be signed in to change notification settings - Fork 8
/
debian10.json
48 lines (48 loc) · 1.65 KB
/
debian10.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
{
"builders": [
{
"boot_command": [
"<esc><wait>",
"install <wait>",
" preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg <wait>",
"debian-installer=en_US.UTF-8 <wait>",
"auto <wait>",
"locale=en_US.UTF-8 <wait>",
"kbd-chooser/method=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"netcfg/get_hostname=malaga <wait>",
"netcfg/get_domain=intelmq.org <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"grub-installer/bootdev=/dev/sda <wait>",
"<enter><wait>"
],
"boot_wait": "5s",
"memory": 1024,
"guest_os_type": "Debian_64",
"http_directory": "http",
"iso_checksum": "file:http://cdimage.debian.org/cdimage/release/10.9.0/amd64/iso-cd/SHA512SUMS",
"iso_checksum_type": "sha512",
"iso_url": "http://cdimage.debian.org/cdimage/release/10.9.0/amd64/iso-cd/debian-10.9.0-amd64-netinst.iso",
"shutdown_command": "echo 'user' | sudo -S shutdown -P now",
"ssh_password": "user",
"ssh_timeout": "10000s",
"ssh_username": "user",
"type": "virtualbox-iso",
"vboxmanage": [
[ "modifyvm", "{{.Name}}", "--natpf1", "guest_ssh,tcp,,2222,,22" ],
[ "modifyvm", "{{.Name}}", "--natpf1", "guest_http,tcp,,8080,,80" ],
[ "modifyvm", "{{.Name}}", "--natpf1", "guest_rabbitmq,tcp,,15672,,15672" ]
]
}
],
"provisioners": [
{
"type": "ansible",
"playbook_file": "./ansible/playbook.yml",
"user": "user"
}
]
}