-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathdebian-10-x86_64-ganeti.json
71 lines (70 loc) · 2.35 KB
/
debian-10-x86_64-ganeti.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
{
"builders": [
{
"boot_command": [
"<esc><wait>",
"install <wait>",
" preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `preseed_path`}} <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=unassigned-hostname ",
"netcfg/get_domain=unassigned-domain ",
"url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-10/preseed-ganeti.cfg<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>"
],
"accelerator": "kvm",
"boot_wait": "10s",
"disk_size": "3072",
"disk_interface": "virtio-scsi",
"headless": true,
"vnc_bind_address":"0.0.0.0",
"http_directory": "http",
"iso_checksum": "7915fdb77a0c2623b4481fc5f0a8052330defe1cde1e0834ff233818dc6f301e",
"iso_checksum_type": "sha256",
"iso_url": "{{user `mirror`}}/10.1.0/amd64/iso-cd/debian-10.1.0-amd64-netinst.iso",
"output_directory": "packer-debian-10-x86_64-ganeti",
"shutdown_command": "echo 'osuadmin' | sudo -S /sbin/shutdown -hP now",
"ssh_password": "osuadmin",
"ssh_port": 22,
"ssh_username": "osuadmin",
"ssh_wait_timeout": "10000s",
"qemuargs": [
[ "-m", "2048M" ],
[ "-boot", "strict=on" ]
],
"qemu_binary": "/usr/libexec/qemu-kvm",
"type": "qemu",
"vm_name": "packer-debian-10-x86_64-ganeti"
}
],
"provisioners": [
{
"execute_command": "echo 'osuadmin' | {{.Vars}} sudo -S -E bash -eux '{{.Path}}'",
"scripts": [
"scripts/debian/update.sh",
"scripts/common/ganeti.sh",
"scripts/debian/ganeti.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": {
"mirror": "http://debian.osuosl.org/debian-cdimage",
"image_name": "Debian 10.1"
}
}