From 6308de24e749fb930fb05c4c58267fbdef4624db Mon Sep 17 00:00:00 2001 From: nott Date: Mon, 17 Jan 2011 18:55:33 +0000 Subject: [PATCH] modified getmacs to use primary servicenode value git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCmac.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCmac.pm b/perl-xCAT/xCAT/PPCmac.pm index 08fbd259f..d535f9185 100644 --- a/perl-xCAT/xCAT/PPCmac.pm +++ b/perl-xCAT/xCAT/PPCmac.pm @@ -88,7 +88,7 @@ sub parse_args { if ( exists($opt{S}) ) { push @network, $_; } else { - $server = xCAT::Utils->get_ServiceNode( $node, "xcat", "MN" ); + $server = xCAT::Utils->getSNformattedhash( $node, "xcat", "MN", "primary" ); foreach my $key ( keys %$server ) { my $valid_ip = xCAT::Utils->validate_ip( $key ); if ( $valid_ip ) {