-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlfs-stage0.json
48 lines (48 loc) · 1.27 KB
/
lfs-stage0.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": [
{
"name": "lfs-stage0",
"type": "virtualbox-iso",
"guest_os_type": "Linux_64",
"disk_size": "16384",
"guest_additions_mode": "disable",
"ssh_username": "root",
"ssh_password": "packer",
"iso_urls": [
"http://debian.osuosl.org/debian-cdimage/current/amd64/iso-cd/debian-7.4.0-amd64-netinst.iso"
],
"iso_checksum": "015b0eadeac8e5fb18c74f62d1cc06fb2fbe3eb5",
"iso_checksum_type": "sha1",
"http_directory": "./http_root",
"boot_wait": "5s",
"boot_command": [
"I<tab> ",
"auto-install/enable ",
"debian-installer/locale=en_US ",
"keyboard-configuration/xkb-keymap=us ",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
"netcfg/get_hostname=packer-lfs-stage0 ",
"netcfg/get_domain=localvm ",
"<enter>",
"<wait10><enter>"
],
"shutdown_command": "shutdown -h -P now"
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"apt-get autoremove -y xserver-common",
"apt-get install -y patch"
]
},
{
"type": "shell",
"scripts": [
"provisioners/stage0/version-check.bash",
"provisioners/zero.sh"
]
}
]
}