summaryrefslogtreecommitdiffstats
path: root/server/tftpboot/grub
diff options
context:
space:
mode:
Diffstat (limited to 'server/tftpboot/grub')
-rw-r--r--server/tftpboot/grub/grub.cfg6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/tftpboot/grub/grub.cfg b/server/tftpboot/grub/grub.cfg
index 53db4d84..f1b53cb8 100644
--- a/server/tftpboot/grub/grub.cfg
+++ b/server/tftpboot/grub/grub.cfg
@@ -1,2 +1,6 @@
-source "$prefix/$net_default_mac"
+insmod tr
+tr -s mac : - $net_default_mac
+tr -U -s MAC $mac
+configfile=$prefix/01-$MAC
+source "$configfile"