From 04fc568623a3d35b546e211e7a0e7dac39f62e22 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 3 May 2011 15:33:34 +0000 Subject: [PATCH] Fix erroneous extra BOOTIF in x86 netboot git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/anaconda.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 448c8d129..a82871672 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -643,7 +643,7 @@ sub mknetboot } elsif ( $reshash->{$node}->[0] and $reshash->{$node}->[0]->{primarynic} and $reshash->{$node}->[0]->{primarynic} ne "mac") { $kcmdline .= "netdev=" . $reshash->{$node}->[0]->{primarynic} . " "; } else { - if ($mac) { + if ($useifname && $mac) { $kcmdline .= "BOOTIF=" . $mac . " "; } }