From 33cda83eb4de51786c85f15b7cd89c65c03f71ca Mon Sep 17 00:00:00 2001 From: nott Date: Fri, 3 Apr 2009 17:58:59 +0000 Subject: [PATCH] Add MAC to NIM diskless machine definition git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 82f512e31..64678f330 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -4705,7 +4705,7 @@ ll~; # define the node my $defcmd = "/usr/sbin/nim -o define -t $type "; - $defcmd .= "-a if1='find_net $nodeshorthost 0' "; + $defcmd .= "-a if1='find_net $nodeshorthost $objhash{$node}{'mac'}' "; $defcmd .= "-a cable_type1=N/A -a netboot_kernel=mp "; $defcmd .= "-a net_definition='ent $nethash{$node}{'mask'} $nethash{$node}{'gateway'}' "; $defcmd .= "-a net_settings1='$speed $duplex' ";