From 64cf83883830f4b3ed0241051a2a81b92d2530fd Mon Sep 17 00:00:00 2001 From: phamt Date: Thu, 28 Feb 2013 14:47:48 +0000 Subject: [PATCH] Search ifcfg file by case-insensitive address. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/zvmUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/zvmUtils.pm b/perl-xCAT/xCAT/zvmUtils.pm index a7ee21798..e07c7d5b6 100644 --- a/perl-xCAT/xCAT/zvmUtils.pm +++ b/perl-xCAT/xCAT/zvmUtils.pm @@ -483,7 +483,7 @@ sub getIfcfgByNic { foreach (@parms) { # If the network file contains the NIC address - $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo cat $_" | grep "$nic"`; + $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo cat $_" | egrep -i "$nic"`; if ($out) { # Return network file path