From 728e45e3a5da02ca6b54c2305c9c8be15d43c5b8 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 6 Mar 2012 20:17:47 +0000 Subject: [PATCH] Change esxi vm creation and rinv to induce vmware to act like SMBIOS2.6 to guests. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 73ede936a..e4b04afac 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -669,6 +669,7 @@ sub inv { my $moref = $vmview->{mo_ref}->value; xCAT::SvrUtils::sendmsg("Managed Object Reference: $moref", $output_handler,$node); my $uuid = $vmview->config->uuid; + $uuid =~ s/(..)(..)(..)(..)-(..)(..)-(..)(..)/$4$3$2$1-$6$5-$8$7/; xCAT::SvrUtils::sendmsg("UUID/GUID: $uuid", $output_handler,$node); my $cpuCount = $vmview->config->hardware->numCPU; xCAT::SvrUtils::sendmsg("CPUs: $cpuCount", $output_handler,$node); @@ -2880,6 +2881,7 @@ sub build_cfgspec { my $vpdtab = xCAT::Table->new('vpd'); $vpdtab->setNodeAttribs($node,{uuid=>$uuid}); } + $uuid =~ s/^(..)(..)(..)(..)-(..)(..)-(..)(..)/$4$3$2$1-$6$5-$8$7/; my @optionvals; if ($tablecfg{vm}->{$node}->[0]->{othersettings}) { my $key;