-
Notifications
You must be signed in to change notification settings - Fork 21
/
ubuntu-20.04-legacy-server-packer.json
48 lines (43 loc) · 1.25 KB
/
ubuntu-20.04-legacy-server-packer.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": [
{
"type": "vmware-iso",
"guest_os_type": "ubuntu-64",
"memory": 1024,
"name": "ubuntu-20.04-legacy-server",
"iso_urls": [
"iso/ubuntu-20.04.1-legacy-server-amd64.iso",
"http://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/ubuntu-20.04.1-legacy-server-amd64.iso"
],
"iso_checksum_type": "sha256",
"iso_checksum": "f11bda2f2caed8f420802b59f382c25160b114ccc665dbac9c5046e7fceaced2",
"http_directory": "debian-installer/http",
"output_directory": "output/live-server",
"boot_wait": "5s",
"boot_command": [
"<esc><wait>",
"<esc><wait>",
"<enter><wait>",
"/install/vmlinuz<wait>",
" initrd=/install/initrd.gz",
" auto-install/enable=true",
" debconf/priority=critical",
" preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg<wait>",
" -- <wait>",
"<enter><wait>"
],
"shutdown_command": "shutdown -P now",
"ssh_username": "ubuntu",
"ssh_password": "ubuntu",
"ssh_pty": true,
"ssh_timeout": "20m",
"ssh_handshake_attempts": "20"
}
],
"provisioners": [
{
"type": "shell",
"inline": ["ls /"]
}
]
}