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
This commit is contained in:
parent
03688a85c1
commit
6308de24e7
@ -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 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user