From 2026105d8ffcb19432792a204c0a772279da0544 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 29 Apr 2011 17:24:50 +0000 Subject: [PATCH] Refix anaconda git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9434 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 b1ab2ee86..448c8d129 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -615,7 +615,7 @@ sub mknetboot #} # append the mac address my $mac; - if($machash->{$node}->[0] && $machash->{$node}->[0]->{'mac'}) { + if( $useifname && $machash->{$node}->[0] && $machash->{$node}->[0]->{'mac'}) { # TODO: currently, only "mac" attribute with classic style is used, the "|" delimited string of "macaddress!hostname" format is not used $mac = $machash->{$node}->[0]->{'mac'}; if ( (index($mac, "|") eq -1) and (index($mac, "!") eq -1) ) {