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
This commit is contained in:
nott 2009-04-03 17:58:59 +00:00
parent 57a1bd5b9d
commit 33cda83eb4

View File

@ -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' ";