summaryrefslogtreecommitdiffstats
path: root/server/tftpboot/grub
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-06-04 13:51:13 +0200
committerIrina Gómez <irinagomez@us.es>2019-06-04 13:51:13 +0200
commit292982df961c0e5cea6391b38ae706bc86de4786 (patch)
tree4e9e7ff4d43329df97844f1fd9aabe9e4b79838d /server/tftpboot/grub
parent3f4a9b7f232c0f6cb1d19d6ec9fe35fbc7d144eb (diff)
For UEFI the format of PXE filename is '01-'. Where is written in lowercase and split up with colon.
Diffstat (limited to 'server/tftpboot/grub')
-rw-r--r--server/tftpboot/grub/grub.cfg6
1 files changed, 1 insertions, 5 deletions
diff --git a/server/tftpboot/grub/grub.cfg b/server/tftpboot/grub/grub.cfg
index 10340de6..56f19639 100644
--- a/server/tftpboot/grub/grub.cfg
+++ b/server/tftpboot/grub/grub.cfg
@@ -1,9 +1,5 @@
-insmod tr
-tr -s mac : - $net_default_mac
-tr -U -s MAC $mac
-
# Cargo configuración PC
-configfile=$prefix/01-$MAC
+configfile=$prefix/01-$net_default_mac
source "$configfile"
# Si no existe anterior cargo configuracion por defecto