-
Notifications
You must be signed in to change notification settings - Fork 26
/
debian-10-aarch64-openstack.json
91 lines (91 loc) · 2.69 KB
/
debian-10-aarch64-openstack.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"builders": [
{
"accelerator": "kvm",
"boot_command": [
"c",
"linux /install.a64/vmlinuz",
" console-setup/ask_detect=false",
" console-setup/layoutcode=us",
" console-setup/modelcode=pc105",
" debconf/frontend=noninteractive",
" debian-installer=en_US.UTF-8",
" fb=false",
" kbd-chooser/method=us",
" keyboard-configuration/xkb-keymap=us",
" keyboard-configuration/layout=USA",
" keyboard-configuration/variant=USA",
" locale=en_US.UTF-8",
" netcfg/get_hostname=unassigned-hostname",
" netcfg/get_domain=unassigned-domain",
" url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-10/preseed-aarch64.cfg<wait>",
" ---",
"<enter><wait>",
"initrd /install.a64/initrd.gz",
"<enter><wait>",
"boot<enter><wait>"
],
"boot_key_interval": "20ms",
"boot_wait": "5s",
"cdrom_interface": "virtio-scsi",
"disk_interface": "virtio",
"disk_size": "3072",
"firmware": "/usr/share/AAVMF/AAVMF_CODE.fd",
"headless": true,
"http_directory": "http",
"iso_checksum": "file:{{user `mirror`}}/{{user `mirror_folder`}}/SHA256SUMS",
"iso_url": "{{user `mirror`}}/{{user `mirror_folder`}}/debian-10.9.0-arm64-netinst.iso",
"memory": 2048,
"output_directory": "packer-debian-10-aarch64-openstack",
"qemu_binary": "/usr/libexec/qemu-kvm",
"qemuargs": [
[
"-boot",
"strict=on"
],
[
"-machine",
"virt,gic-version=3,accel=kvm"
],
[
"-cpu",
"host"
],
[
"-monitor",
"none"
]
],
"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-aarch64-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.9.0/arm64/iso-cd"
}
}