From 51d3c880226fa45a7b84214881934956774838c0 Mon Sep 17 00:00:00 2001 From: datajerk Date: Fri, 4 Sep 2009 13:44:35 +0000 Subject: [PATCH] minor bug, changed $add to $kcmdline git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/boottarget.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/boottarget.pm b/xCAT-server/lib/xcat/plugins/boottarget.pm index 2ec345a87..634ec089b 100644 --- a/xCAT-server/lib/xcat/plugins/boottarget.pm +++ b/xCAT-server/lib/xcat/plugins/boottarget.pm @@ -165,8 +165,8 @@ sub mknetboot my $natab = xCAT::Table->new($1); my $naent = $natab->getNodeAttribs($node,[$2]); my $naval = $naent->{$2}; - $add =~ s/#NODEATTRIB:([^:#]+):([^:#]+)#/$naval/; - } + $kcmdline =~ s/#NODEATTRIB:([^:#]+):([^:#]+)#/$naval/; + } if($initrd eq ''){ $bptab->setNodeAttribs(