1 <?php // -*- Mode: PHP; -*-
4 * Copyright (C) 2009 Marty Connor <mdc@etherboot.org>.
5 * Copyright (C) 2009 Entity Cyber, Inc.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or any later version.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 ( "Floppy bootable image (.dsk)" => "dsk",
24 "SYSLINUX-based bootable floppy image (.sdsk)" => "sdsk",
25 "ISO bootable image (.iso)" => "iso",
26 "ISO bootable image with legacy floppy emulation (.liso)" => "liso",
27 "Linux kernel (SYSLINUX/GRUB/LILO) loadable image (.lkrn)" => "lkrn",
28 "USB Keychain disk image (.usb)" => "usb",
29 "ROM binary (flashable) image (.rom)" => "rom",
30 "ROM binary (flashable) for problem PMM BIOSES (.hrom)" => "hrom",
31 "PXE bootstrap loader image [Unload PXE stack] (.pxe)" => "pxe",
32 "PXE bootstrap loader keep [Keep PXE stack method 1] (.kpxe)" => "kpxe",
33 "PXE bootstrap loader keep [Keep PXE stack method 2] (.kkpxe)" => "kkpxe",
38 // Begin General Options:
42 "flag" => "HDR_MISC_OPTIONS",
43 "hide_from_user" => "yes", // Hide even the header
45 "label" => "Miscellaneous Options"
50 "flag" => "PRODUCT_NAME",
51 "hide_from_user" => "yes",
59 "flag" => "PRODUCT_SHORT_NAME",
60 "hide_from_user" => "yes",
66 // End General Options:
68 // Begin Console Options:
72 "flag" => "HDR_CONSOLE_OPTIONS",
74 "label" => "Console Options"
79 "flag" => "CONSOLE_PCBIOS",
87 "flag" => "CONSOLE_SERIAL",
95 "flag" => "BANNER_TIMEOUT",
103 "flag" => "KEYBOARD_MAP",
105 "options" => array("al","az","bg","by","cf","cz","de","dk","es","et","fi","fr",
106 "gr","hu","il","it","lt","mk","mt","nl","no","pl","pt","ro","ru","sg","sr",
107 "th","ua","uk","us","wo"),
109 "cfgsec" => "console"
114 "flag" => "LOG_LEVEL",
116 "options" => array("LOG_NONE","LOG_EMERG","LOG_ALERT","LOG_CRIT","LOG_ERR",
117 "LOG_WARNING","LOG_NOTICE","LOG_INFO","LOG_DEBUG","LOG_ALL"),
118 "value" => "LOG_NONE",
119 "cfgsec" => "console"
122 // End Console Options
124 // Begin Network Protocol Options:
126 "HDR_NETWORK_PROTOCOL_OPTIONS"
128 "flag" => "HDR_NETWORK_PROTOCOL_OPTIONS",
129 "hide_from_user" => "yes", // Hide even the header
131 "label" => "Network Protocol Options"
136 "flag" => "NET_PROTO_IPV4",
139 "hide_from_user" => "yes",
140 "cfgsec" => "general"
143 // End Network Protocol Options
145 // Begin Serial Port configuration
147 "HDR_SERIAL_PORT_OPTIONS"
149 "flag" => "HDR_SERIAL_PORT_OPTIONS",
151 "label" => "Serial Port Options"
156 "flag" => "COMCONSOLE",
157 "type" => "integer-hex", // e.g. 0x378
164 "flag" => "COMPRESERVE",
172 "flag" => "COMSPEED",
188 "flag" => "COMPARITY",
202 // End Serial Options
204 // Begin Download Protocols
206 "HDR_DOWNLOAD_PROTOCOLS"
208 "flag" => "HDR_DOWNLOAD_PROTOCOLS",
210 "label" => "Download Protocols"
213 "DOWNLOAD_PROTO_TFTP"
215 "flag" => "DOWNLOAD_PROTO_TFTP",
218 "cfgsec" => "general"
221 "DOWNLOAD_PROTO_HTTP"
223 "flag" => "DOWNLOAD_PROTO_HTTP",
226 "cfgsec" => "general"
229 "DOWNLOAD_PROTO_HTTPS"
231 "flag" => "DOWNLOAD_PROTO_HTTPS",
234 "cfgsec" => "general"
239 "flag" => "DOWNLOAD_PROTO_FTP",
242 "cfgsec" => "general"
245 // End Download Protocols
247 // Begin SAN boot protocols
249 "HDR_SANBOOT_PROTOCOLS"
251 "flag" => "HDR_SANBOOT_PROTOCOLS",
253 "label" => "SAN Boot Protocols"
256 "SANBOOT_PROTO_ISCSI"
258 "flag" => "SANBOOT_PROTO_ISCSI",
261 "cfgsec" => "general"
266 "flag" => "SANBOOT_PROTO_AOE",
269 "cfgsec" => "general"
272 // End SAN boot protocols
274 // Begin Name resolution modules
276 "HDR_NAME_RESOLUTION_MODULES"
278 "flag" => "HDR_NAME_RESOLUTION_MODULES",
280 "label" => "Name Resolution Modules"
285 "flag" => "DNS_RESOLVER",
288 "cfgsec" => "general"
293 "flag" => "NMB_RESOLVER",
296 "hide_from_user" => "yes",
297 "cfgsec" => "general"
300 // End Name resolution modules
306 "flag" => "HDR_IMAGE_TYPES",
308 "label" => "Image Types",
313 "flag" => "IMAGE_ELF",
316 "cfgsec" => "general"
321 "flag" => "IMAGE_NBI",
324 "cfgsec" => "general"
329 "flag" => "IMAGE_MULTIBOOT",
332 "cfgsec" => "general"
337 "flag" => "IMAGE_PXE",
340 "cfgsec" => "general"
345 "flag" => "IMAGE_SCRIPT",
348 "cfgsec" => "general"
353 "flag" => "IMAGE_BZIMAGE",
356 "cfgsec" => "general"
361 "flag" => "IMAGE_COMBOOT",
364 "cfgsec" => "general"
369 // Begin Command-line commands to include
371 "HDR_COMMAND_LINE_OPTIONS"
373 "flag" => "HDR_COMMAND_LINE_OPTIONS",
375 "label" => "Command Line Options",
380 "flag" => "AUTOBOOT_CMD",
383 "cfgsec" => "general"
391 "cfgsec" => "general"
396 "flag" => "CONFIG_CMD",
399 "cfgsec" => "general"
404 "flag" => "IFMGMT_CMD",
407 "cfgsec" => "general"
412 "flag" => "IWMGMT_CMD",
415 "cfgsec" => "general"
420 "flag" => "ROUTE_CMD",
423 "cfgsec" => "general"
428 "flag" => "IMAGE_CMD",
431 "cfgsec" => "general"
436 "flag" => "DHCP_CMD",
439 "cfgsec" => "general"
444 "flag" => "SANBOOT_CMD",
447 "cfgsec" => "general"
452 "flag" => "LOGIN_CMD",
455 "cfgsec" => "general"
460 "flag" => "TIME_CMD",
463 "cfgsec" => "general"
468 "flag" => "DIGEST_CMD",
471 "cfgsec" => "general"
474 // End Command-line commands to include
476 // Begin Wireless options
478 "HDR_WIRELESS_OPTIONS"
480 "flag" => "HDR_WIRELESS_OPTIONS",
482 "label" => "Wireless Interface Options",
487 "flag" => "CRYPTO_80211_WEP",
490 "cfgsec" => "general"
495 "flag" => "CRYPTO_80211_WPA",
498 "cfgsec" => "general"
503 "flag" => "CRYPTO_80211_WPA2",
506 "cfgsec" => "general"
509 // End Wireless options
511 // Obscure options required to compile
512 "NETDEV_DISCARD_RATE"
514 "flag" => "NETDEV_DISCARD_RATE",
517 "cfgsec" => "general",
518 "hide_from_user" => true
521 // End Obscure options