pxelinux: pass student's IP in template

This commit is contained in:
nemunaire 2020-02-25 11:10:22 +01:00
parent 8aa8d120f1
commit 1891c9c7c6

View File

@ -21,7 +21,7 @@ LABEL challenge
MENU LABEL ^Enter Challenge
KERNEL ../bzImage
INITRD ../challenge-initrd.img
APPEND console=tty0 adlin.login={{ .username }} adlin.key={{ .pkey }} quiet
APPEND console=tty0 adlin.login={{ .username }} adlin.key={{ .pkey }} adlin.ip={{ .ip }} quiet
text help
You are currently identified as {{ .username }}.
Please select this menu entry in order to access the tutorial.