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
This commit is contained in:
jbjohnso 2012-03-06 20:17:47 +00:00
parent 1104bc50ca
commit 728e45e3a5

View File

@ -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;