From 38c71e86bcf8cdb46f23b02b70e902e36da13904 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 6 Mar 2012 15:55:40 +0000 Subject: [PATCH] Have blade.pm check both representations of uuid to search for a match.... git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 40fa3c1e5..30f9cdfcd 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -3866,6 +3866,11 @@ sub process_request { $node = $uuidmap{$uuid}; last; } + $uuid =~ s/(..)(..)(..)(..)-(..)(..)-(..)(..)/$4$3$2$1-$6$5-$8$7/; + if ($uuid and $uuidmap{$uuid}) { + $node = $uuidmap{$uuid}; + last; + } } } unless ($node) {