From 27f23d33b9237672b7e2e225e054dc514cd09e20 Mon Sep 17 00:00:00 2001 From: Patrick Lundgren Date: Thu, 23 Jun 2016 10:37:50 -0400 Subject: [PATCH] Handle commas in --range for nmap --- xCAT-server/lib/xcat/plugins/bmcdiscover.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm index 02469dde2..259454659 100644 --- a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm @@ -450,6 +450,8 @@ sub scan_process{ { $method="nmap"; } + # Handle commas in $range for nmap + $range =~ tr/,/ /; my $ip_list; ############################################################