From d67cdb6d92eae3ffd967231ae063e181e4a7ec6d Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 30 Jul 2010 12:59:46 +0000 Subject: [PATCH] -For VM nics after the first, default to *NOIP*. More complicated topologies will be considered when asked In brief, modify discovery to discover by mac table if VM, so as to fill out the topology info git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/VMCommon.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/VMCommon.pm b/perl-xCAT/xCAT/VMCommon.pm index bff323e17..7ee8f9477 100644 --- a/perl-xCAT/xCAT/VMCommon.pm +++ b/perl-xCAT/xCAT/VMCommon.pm @@ -121,7 +121,7 @@ sub requestMacAddresses { if (not $macdata) { $macdata = $macaddr; } else { - $macdata .= "|".$macaddr; + $macdata .= "|".$macaddr."*NOIP*"; } push @macs,$macaddr; } @@ -185,7 +185,7 @@ sub getMacAddresses { if (not $macdata) { $macdata = $macaddr; } else { - $macdata .= "|".$macaddr; + $macdata .= "|".$macaddr."*NOIP*"; } push @macs,$macaddr; }