From 1891c9c7c661b8258794a52042d52c7625517ca4 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Tue, 25 Feb 2020 11:10:22 +0100 Subject: [PATCH] pxelinux: pass student's IP in template --- tftp/pxelinux.cfg/tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tftp/pxelinux.cfg/tpl b/tftp/pxelinux.cfg/tpl index 217dbcc..345f4e6 100644 --- a/tftp/pxelinux.cfg/tpl +++ b/tftp/pxelinux.cfg/tpl @@ -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.