From c31973a5cf6389a7041b151deb57a9efac6aed11 Mon Sep 17 00:00:00 2001 From: nott Date: Mon, 12 Oct 2009 18:40:07 +0000 Subject: [PATCH] Fix get_nim_attr_val #2 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4358 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 fdc746c0a..a5eca3f00 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -3002,7 +3002,7 @@ sub get_nim_attr_val } chomp $target; - my $cmd = "/usr/sbin/lsnim -a location -Z $resname 2>/dev/null"; + my $cmd = "/usr/sbin/lsnim -a $attrname -Z $resname 2>/dev/null"; my $nout = &xcmd($callback, "xdsh", $target, $cmd, 0); if ($::RUNCMD_RC != 0) {