# Use the high-colour menu system. This file, and the low-colour 'menu.c32' # version, are provided by the syslinux package and can be found in the # '/var/lib/tftpboot' directory. Copy it to '/var/lib/tftpboot'. UI vesamenu.c32 # Time out and use the default menu option. Defined as tenths of a second. TIMEOUT 100 # Prompt the user. Set to '1' to automatically choose the default option. This # is really meant for files matched to MAC addresses. PROMPT 0 # Set the boot menu to be 1024x768 with a nice background image. Be careful to # ensure that all your user's can see this resolution! Default is 640x480. MENU RESOLUTION 1024 768 # This file must be in or under the '/var/lib/tftpboot' folder. MENU BACKGROUND an-pxe_splash_1024_768.png # These do not need to be set. I set them here to show how you can customize or # localize your PXE server's dialogue. MENU TITLE AN!PXE Boot Server # Below, the hash (#) character is replaced with the countdown timer. The # '{,s}' allows for pluralizing a word and is used when the value is >= '2'. MENU AUTOBOOT Will boot the next device as configured in your BIOS in # second{,s}. MENU TABMSG Press the key to edit the boot parameters of the highlighted option. MENU NOTABMSG Editing of this option is disabled. # The following options set the various colours used in the menu. All possible # options are specified except for F# help options. The colour is expressed as # two hex characters between '00' and 'ff' for red, green, blue and alpha, # respectively (#RRGGBBAA). # Format is: MENU COLOR MENU COLOR screen 0 #80ffffff #00000000 std # background colour not covered by the splash image MENU COLOR border 0 #ffffffff #ee000000 std # The wire-frame border MENU COLOR title 0 #ffff3f7f #ee000000 std # Menu title text MENU COLOR sel 0 #ff00dfdf #ee000000 std # Selected menu option MENU COLOR hotsel 0 #ff7f7fff #ee000000 std # The selected hotkey (set with ^ in MENU LABEL) MENU COLOR unsel 0 #ffffffff #ee000000 std # Unselected menu options MENU COLOR hotkey 0 #ff7f7fff #ee000000 std # Unselected hotkeys (set with ^ in MENU LABEL) MENU COLOR tabmsg 0 #c07f7fff #00000000 std # Tab text MENU COLOR timeout_msg 0 #8000dfdf #00000000 std # Timout text MENU COLOR timeout 0 #c0ff3f7f #00000000 std # Timout counter MENU COLOR disabled 0 #807f7f7f #ee000000 std # Disabled menu options, including SEPARATORs MENU COLOR cmdmark 0 #c000ffff #ee000000 std # Command line marker - The '> ' on the left when editing an option MENU COLOR cmdline 0 #c0ffffff #ee000000 std # Command line - The text being edited # Options below haven't been tested, descriptions may be lacking. MENU COLOR scrollbar 0 #40000000 #00000000 std # Scroll bar MENU COLOR pwdborder 0 #80ffffff #20ffffff std # Password box wire-frame border MENU COLOR pwdheader 0 #80ff8080 #20ffffff std # Password box header MENU COLOR pwdentry 0 #80ffffff #20ffffff std # Password entry field MENU COLOR help 0 #c0ffffff #00000000 std # Help text, if set via 'TEXT HELP ... ENDTEXT' ### Now define the menu options # I feel it is safest to return booting to the client as the first and default # option. This entry below will do just that. LABEL next MENU LABEL ^A) Boot the next device as configured in your BIOS MENU DEFAULT localboot ## To keep the menu from getting out of hand, I like to create sub-menus. ## The sub-menus are simply additional files in the same directory as this ## file with one or more boot options or, if you wish, further sub-menus. # # This section covers boot options without pre-defined kickstart (or other) # automation scripts. MENU BEGIN generic MENU TITLE Generic installations (as if booting from media) LABEL Previous MENU LABEL ^B) Previous Menu MENU EXIT MENU SEPARATOR MENU INCLUDE pxelinux.cfg/generic.menu MENU END # As I build a lot of clusters, I like to have a section dedicated to boot # options used to build cluster nodes. MENU BEGIN cluster MENU TITLE Cluster nodes LABEL Previous MENU LABEL ^C) Previous Menu MENU EXIT MENU SEPARATOR MENU INCLUDE pxelinux.cfg/cluster.menu MENU END # This section is where I put generic automated install scripts. These # generally have no specific use and are meant to create installations that # can be easily adapted or built upon. MENU BEGIN stock MENU TITLE Stock installs (generic kickstart-based installs) LABEL Previous MENU LABEL ^D) Previous Menu MENU EXIT MENU SEPARATOR MENU INCLUDE pxelinux.cfg/stock.menu MENU END # Lastly, I like to make "Live" operating systems available. These are very # useful for diagnostics and recovery work where you need more than a 'rescue' # boot provides and where you do not want to effect the underlying system OS. MENU BEGIN live MENU TITLE Live Distros (bootable without affecting the underlying system) LABEL Previous MENU LABEL ^E) Previous Menu MENU EXIT MENU SEPARATOR MENU INCLUDE pxelinux.cfg/live.menu MENU END