validator: implement PXE template
This commit is contained in:
parent
e9ddee7ef1
commit
24a530b515
5 changed files with 144 additions and 27 deletions
|
|
@ -1,29 +1,10 @@
|
|||
DEFAULT vesamenu.c32
|
||||
|
||||
MENU RESOLUTION 1024 768
|
||||
NOESCAPE 1
|
||||
ALLOWOPTIONS 0
|
||||
|
||||
#MENU BACKGROUND splash.png
|
||||
MENU BACKGROUND #00000000 * *
|
||||
MENU COLOR TITLE * #FF22BBCC *
|
||||
#MENU COLOR BORDER * #FFFFFFFF #00000000 none
|
||||
MENU COLOR SEL * #FFFFFFFF #FF22BBCC *
|
||||
MENU COLOR HOTSEL 1;7;37;40 #ffffffff #76a1d0ff *
|
||||
#MENU COLOR TABMSG * #ffffffff #00000000 *
|
||||
#MENU COLOR HELP 37;40 #ffdddd00 #00000000 *
|
||||
MENU TABMSG Press ENTER to boot or TAB to edit a menu entry
|
||||
|
||||
PROMPT 0
|
||||
TIMEOUT 1
|
||||
|
||||
MENU TITLE Welcome to the EPITA ADvanced LINux administration course!
|
||||
DEFAULT login
|
||||
|
||||
LABEL login
|
||||
MENU LABEL ^Login
|
||||
KERNEL adlin/login-kernel
|
||||
INITRD adlin/login-initrd.img
|
||||
APPEND console=tty0
|
||||
KERNEL bzImage
|
||||
INITRD initramfs-login.img
|
||||
APPEND console=tty0 quiet
|
||||
TEXT help
|
||||
You are currently not identified.
|
||||
Please select this menu entry in order to access the tutorial.
|
||||
|
|
|
|||
48
tftp/pxelinux.cfg/tpl
Normal file
48
tftp/pxelinux.cfg/tpl
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
default vesamenu.c32
|
||||
|
||||
MENU RESOLUTION 1024 768
|
||||
|
||||
#menu background splash.png
|
||||
menu background #00000000 * *
|
||||
menu color title * #FF22BBCC *
|
||||
#menu color border * #FFFFFFFF #00000000 none
|
||||
menu color sel * #FFFFFFFF #FF22BBCC *
|
||||
menu color hotsel 1;7;37;40 #ffffffff #76a1d0ff *
|
||||
#menu color tabmsg * #ffffffff #00000000 *
|
||||
#menu color help 37;40 #ffdddd00 #00000000 *
|
||||
menu tabmsg Press ENTER to boot or TAB to edit a menu entry
|
||||
|
||||
prompt 0
|
||||
timeout 0
|
||||
|
||||
menu title Welcome {{ .username }} to the EPITA ADvanced LINux administration course!
|
||||
|
||||
LABEL challenge
|
||||
MENU LABEL ^Enter Challenge
|
||||
KERNEL bzImage
|
||||
INITRD initramfs-challenge.img
|
||||
APPEND console=tty0 quiet
|
||||
text help
|
||||
You are currently identified as {{ .username }}.
|
||||
Please select this menu entry in order to access the tutorial.
|
||||
endtext
|
||||
|
||||
MENU SEPARATOR
|
||||
|
||||
LABEL logout
|
||||
MENU LABEL Not {{ .username }}? ^logout
|
||||
KERNEL bzImage
|
||||
INITRD initramfs-login.img
|
||||
APPEND console=tty0 quiet
|
||||
text help
|
||||
You are currently identified as {{ .username }}.
|
||||
If this is not you, you should logout right now, using this menu entry!
|
||||
|
||||
You'll next be able to login as another user.
|
||||
endtext
|
||||
|
||||
MENU SEPARATOR
|
||||
|
||||
LABEL poweroff
|
||||
MENU LABEL ^Shutdown
|
||||
KERNEL poweroff.c32
|
||||
Reference in a new issue