2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

fix bug: failed to load config file which value include comma in object section

This commit is contained in:
hu-weihua 2017-07-20 03:46:46 -04:00
parent 4d046d4f4e
commit d1b823b4b3

View File

@ -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") {