-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathdebian-10-x86_64-openstack.json
More file actions
74 lines (73 loc) · 2.29 KB
/
debian-10-x86_64-openstack.json
File metadata and controls
74 lines (73 loc) · 2.29 KB
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
68
69
70
71
72
73
{
"builders": [
{
"accelerator": "kvm",
"boot_command": [
"<esc><wait>",
"install ",
" preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `preseed_path`}} ",
"debian-installer=en_US.UTF-8 ",
"auto ",
"locale=en_US.UTF-8 ",
"kbd-chooser/method=us ",
"keyboard-configuration/xkb-keymap=us ",
"netcfg/get_hostname=unassigned-hostname ",
"netcfg/get_domain=unassigned-domain ",
"url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-10/preseed.cfg ",
"fb=false ",
"debconf/frontend=noninteractive ",
"console-setup/ask_detect=false ",
"console-keymaps-at/keymap=us ",
"grub-installer/bootdev=/dev/sda ",
"<enter>"
],
"boot_key_interval": "20ms",
"boot_wait": "5s",
"disk_interface": "virtio-scsi",
"disk_size": "3072",
"headless": true,
"http_directory": "http",
"iso_checksum": "file:{{user `mirror`}}/{{user `mirror_folder`}}/SHA256SUMS",
"iso_url": "{{user `mirror`}}/{{user `mirror_folder`}}/debian-10.10.0-amd64-netinst.iso",
"memory": 2048,
"output_directory": "packer-debian-10-x86_64-openstack",
"qemu_binary": "/usr/libexec/qemu-kvm",
"qemuargs": [
[
"-boot",
"strict=on"
]
],
"shutdown_command": "echo 'debian' | sudo -S /sbin/shutdown -hP now",
"ssh_password": "debian",
"ssh_port": 22,
"ssh_timeout": "10000s",
"ssh_username": "debian",
"type": "qemu",
"vm_name": "packer-debian-10-x86_64-openstack",
"vnc_bind_address": "0.0.0.0"
}
],
"provisioners": [
{
"execute_command": "echo 'debian' | {{.Vars}} sudo -S -E bash -eux '{{.Path}}'",
"scripts": [
"scripts/debian/update.sh",
"scripts/debian/openstack.sh",
"scripts/common/sshd.sh",
"scripts/debian/networking.sh",
"scripts/debian/sudoers.sh",
"scripts/common/vmtools.sh",
"scripts/debian/systemd.sh",
"scripts/debian/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"image_name": "Debian 10.10",
"mirror": "http://cdimage.debian.org/cdimage/archive",
"mirror_folder": "10.10.0/amd64/iso-cd"
}
}