From ca1b59a3a68e81892a43bf0a71106eb6250dc509 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 5 Oct 2011 18:46:49 +0000 Subject: [PATCH] Fix mistakes in VMCommon around multi-nic vms Fix typo in esx.pm git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/VMCommon.pm | 2 +- xCAT-server/lib/xcat/plugins/esx.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/VMCommon.pm b/perl-xCAT/xCAT/VMCommon.pm index e146fd16b..ed6d9a5dc 100644 --- a/perl-xCAT/xCAT/VMCommon.pm +++ b/perl-xCAT/xCAT/VMCommon.pm @@ -204,7 +204,7 @@ sub getMacAddresses { if (not $macdata) { $macdata = $macaddr; } else { - $macdata .= "|".$macaddr."*NOIP*"; + $macdata .= "|".$macaddr."!*NOIP*"; } push @macs,$macaddr; } diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 3a4f6b04d..2dd68d095 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -3573,7 +3573,7 @@ sub refreshclusterdatastoremap { my $name = $dsv->info->vmfs->name; $clusterhash{$cluster}->{datastoremap}->{"vmfs://".$name} = $dsv->info->name; $clusterhash{$cluster}->{datastoreurlmap}->{$dsv->info->name} = "vmfs://".$name; - $clusterhash{$cluster}->{datasotrerefmap}->{"vmfs://".$name} = $_; + $clusterhash{$cluster}->{datastorerefmap}->{"vmfs://".$name} = $_; } } }