From 85ce5b7e29c895b03b4e7a5745ad85a15fc22706 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 4 Jun 2018 13:31:36 -0400 Subject: [PATCH] Use the iPXE native format for mac It's been enough years by now, just use what was accepted upstream rather than the preliminary syntax in our branch. --- xCAT-server/lib/xcat/plugins/xnba.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/xnba.pm b/xCAT-server/lib/xcat/plugins/xnba.pm index 7fdaec0d7..b6c726302 100644 --- a/xCAT-server/lib/xcat/plugins/xnba.pm +++ b/xCAT-server/lib/xcat/plugins/xnba.pm @@ -272,7 +272,7 @@ sub setstate { print $pcfg "imgfetch -n kernel http://" . '${next-server}/tftpboot/' . $kern->{kernel} . "\n"; print $pcfg "imgload kernel\n"; if ($kern->{kcmdline}) { - print $pcfg "imgargs kernel " . $kern->{kcmdline} . ' BOOTIF=01-${netX/machyp}' . "\n"; + print $pcfg "imgargs kernel " . $kern->{kcmdline} . ' BOOTIF=01-${netX/mac:hexhyp}' . "\n"; } else { print $pcfg "imgargs kernel BOOTIF=" . '${netX/mac}' . "\n"; }