.
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
# Timeout for menu
|
||||
set timeout=60
|
||||
|
||||
# Default boot entry
|
||||
set default=boot-bios
|
||||
|
||||
# Visual
|
||||
GRUB_GFXMODE=1024x768x32
|
||||
GRUB_GFXPAYLOAD_LINUX=keep
|
||||
## Menu Colours
|
||||
set menu_color_normal=white/black
|
||||
set menu_color_highlight=white/green
|
||||
|
||||
menuentry 'Continue to normal BIOS boot' --id boot-bios --class exit {
|
||||
exit
|
||||
}
|
||||
submenu "Harvester ->" {
|
||||
configfile harvester.cfg
|
||||
}
|
||||
submenu "TLU Harvester Cluster->" {
|
||||
configfile tlu-harvester.cfg
|
||||
}
|
||||
|
||||
submenu "openSUSE ->" {
|
||||
|
||||
}
|
||||
|
||||
menuentry "Reboot" --class exit {
|
||||
reboot
|
||||
}
|
||||
|
||||
menuentry "Power-off" --class exit {
|
||||
halt
|
||||
}
|
@@ -1,9 +0,0 @@
|
||||
# Visual
|
||||
GRUB_GFXMODE=1024x768x32
|
||||
GRUB_GFXPAYLOAD_LINUX=keep
|
||||
## Menu Colours
|
||||
set menu_color_normal=white/black
|
||||
set menu_color_highlight=white/green
|
||||
|
||||
menuentry 'Harvester 0.3.0' --class os {
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 673 KiB |
@@ -1,71 +0,0 @@
|
||||
#DEFAULT vesamenu.c32
|
||||
#PROMPT 0
|
||||
UI vesamenu.c32
|
||||
TIMEOUT 150
|
||||
ONTIMEOUT local
|
||||
|
||||
|
||||
MENU TITLE Transportable Lab Unit PXE Menu
|
||||
MENU RESOLUTION 1024 768
|
||||
MENU BACKGROUND opensuse.png
|
||||
|
||||
# color codes in #AARRGGBB notation, where AA RR GG BB are hexadecimal digits for
|
||||
# alpha (opacity), red, green and blue, respectively. #00000000 represents fully
|
||||
# transparent, and #ffffffff represents opaque white.
|
||||
#MENU COLOR element ansi foreground background shadow
|
||||
|
||||
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 #ff30ba78 #ee000000 std # Menu title text
|
||||
MENU COLOR sel 0 #ff7ad4aa #ee000000 std # Selected menu option
|
||||
MENU COLOR hotsel 0 #ffff8e77 #ee000000 std # The selected hotkey (set with ^ in MENU LABEL)
|
||||
MENU COLOR unsel 0 #ffffffff #ee000000 std # Unselected menu options
|
||||
MENU COLOR hotkey 0 #ffff8e77 #ee000000 std # Unselected hotkeys (set with ^ in MENU LABEL)
|
||||
MENU COLOR tabmsg 0 #c07ad4aa #00000000 std # Tab text
|
||||
MENU COLOR timeout_msg 0 #807ad4aa #00000000 std # Timout text
|
||||
MENU COLOR timeout 0 #c0ff6a52 #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'
|
||||
|
||||
LABEL local
|
||||
MENU LABEL Boot local
|
||||
localboot
|
||||
|
||||
MENU BEGIN opensuse
|
||||
MENU TITLE openSUSE Installs
|
||||
LABEL Previous
|
||||
MENU LABEL ^Previous Menu
|
||||
MENU EXIT
|
||||
MENU SEPARATOR
|
||||
MENU INCLUDE pxelinux.cfg/opensuse.menu
|
||||
MENU END
|
||||
|
||||
MENU BEGIN home_servers
|
||||
MENU TITLE Servers at Home
|
||||
LABEL Previous
|
||||
MENU LABEL ^Previous Menu
|
||||
MENU EXIT
|
||||
MENU SEPARATOR
|
||||
MENU INCLUDE pxelinux.cfg/home_servers.menu
|
||||
MENU END
|
||||
|
||||
MENU BEGIN tools
|
||||
MENU TITLE Tools
|
||||
LABEL Previous
|
||||
MENU LABEL ^Previous Menu
|
||||
MENU EXIT
|
||||
MENU SEPARATOR
|
||||
MENU INCLUDE pxelinux.cfg/tools.menu
|
||||
MENU END
|
||||
|
||||
LABEL poweroff
|
||||
MENU LABEL Power Off
|
||||
COMBOOT poweroff.com
|
||||
|
@@ -1,9 +0,0 @@
|
||||
# Visual
|
||||
GRUB_GFXMODE=1024x768x32
|
||||
GRUB_GFXPAYLOAD_LINUX=keep
|
||||
## Menu Colours
|
||||
set menu_color_normal=white/black
|
||||
set menu_color_highlight=white/green
|
||||
|
||||
menuentry 'Harvester 0.3.0' --class os {
|
||||
}
|
@@ -6,32 +6,6 @@ Install atftp:
|
||||
pkg.installed:
|
||||
- name: atftp
|
||||
|
||||
|
||||
{% set files = ['memdisk', 'poweroff.com', 'pxelinux.0', 'vesamenu.c32'] -%}
|
||||
{% for file in files -%}
|
||||
Linking {{ file }}:
|
||||
file.symlink:
|
||||
- name: /srv/tftpboot/{{ file }}
|
||||
- target: /usr/share/syslinux/{{ file }}
|
||||
{% endfor %}
|
||||
|
||||
copy bootx64.efi:
|
||||
file.managed:
|
||||
- name: /srv/tftpboot/bootx64.efi
|
||||
- source: /usr/share/efi/x86_64/shim.efi
|
||||
|
||||
copy grub.efi:
|
||||
file.managed:
|
||||
- name: /srv/tftpboot/grub.efi
|
||||
- source: /usr/share/efi/x86_64/grub.efi
|
||||
|
||||
Add files to tftpboot:
|
||||
file.recurse:
|
||||
- name: /srv/tftpboot
|
||||
- source: salt://atftp/files
|
||||
- include_empty: True
|
||||
- replace: False
|
||||
|
||||
Start the atftpd.socket:
|
||||
service.running:
|
||||
- name: atftpd.socket
|
||||
|
Reference in New Issue
Block a user