diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 3606c8e0c..19e9477e1 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -1627,7 +1627,12 @@ sub inv { if ($item =~ /^uuid/ or $item =~ /^guid/) { $data=$session->get([$bladeuuidoid,$slot]); if ($session->{ErrorStr}) { return (1,$session->{ErrorStr}); } - $data =~ s/ /-/g; + $data =~ s/ //; + $data =~ s/ /-/; + $data =~ s/ /-/; + $data =~ s/ /-/; + $data =~ s/ /-/; + $data =~ s/ //g; push @output,"UUID/GUID: ".$data; } if ($item =~ /^serial/) {