From d1b823b4b3a562dde9f286b94f8f3dff1aa6dc39 Mon Sep 17 00:00:00 2001 From: hu-weihua Date: Thu, 20 Jul 2017 03:46:46 -0400 Subject: [PATCH] fix bug: failed to load config file which value include comma in object section --- xCAT-test/xcattest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-test/xcattest b/xCAT-test/xcattest index 00133e425..be197d0d9 100755 --- a/xCAT-test/xcattest +++ b/xCAT-test/xcattest @@ -682,7 +682,7 @@ sub load_config_file { } } elsif ($type eq "Object") { ##OBJECT BLOCK## - if ($line =~ /(\w+)\s*=\s*([:\w\.\-\/]+)/) { + if ($line =~ /(\w+)\s*=\s*([:,\w\.\-\/]+)/) { $attr = $1; $value = $2; if ($attr eq "Name") {