diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index 0ddb41fea..e5f18d30b 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -649,8 +649,10 @@ sub format_output { my $raw = ${$outhash->{$_}}{url}; $rawhash{$raw} = 1; } - foreach ( keys %rawhash ) { - $result .= "$_\n"; + foreach my $en ( keys %rawhash ) { + if ($en =~ /(\(type.*\))/) { + $result .= "$1\n"; + } } send_msg( $request, 0, $result );