From 9271d58115484681908496ddeacd29a03ff3fa72 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 3 Apr 2012 18:54:19 +0000 Subject: [PATCH] Have blade.pm support filling in based on name lookup git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index ac55bff94..8841e27eb 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -4444,6 +4444,9 @@ sub network { } $hosttab->close(); } + unless ($ip) { + $ip = xCAT::NetworkUtils->getipaddr($node); + } } else { my $ppctab = xCAT::Table->new( 'ppc' ); if ($ppctab) {