From 891f4ee1050ee498573553af33c807844454280c Mon Sep 17 00:00:00 2001 From: bybai Date: Sun, 19 Mar 2017 23:22:27 -0400 Subject: [PATCH] fix issue 2657 --- xCAT-server/lib/xcat/plugins/hosts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/hosts.pm b/xCAT-server/lib/xcat/plugins/hosts.pm index 6cfb16694..87daa39b2 100755 --- a/xCAT-server/lib/xcat/plugins/hosts.pm +++ b/xCAT-server/lib/xcat/plugins/hosts.pm @@ -74,7 +74,7 @@ sub addnode { if ($hosts[$idx] =~ /^${ip}\s/ - or $hosts[$idx] =~ /^\d+\.\d+\.\d+\.\d+\s+${node}[\s\.r]/) + or $hosts[$idx] =~ /^\d+\.\d+\.\d+\.\d+\s+${node}[\s\.\r]/) { if ($foundone) {