2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 18:16:39 +00:00

Merge pull request #1117 from hu-weihua/xcattest1095

Fix issue1095 xcattest script doesn't support global variable with "http://"
This commit is contained in:
tingtli 2016-05-16 16:22:44 +08:00
commit 6636f598e8

View File

@ -223,7 +223,7 @@ sub getConfig
}
} elsif ($type eq "Varible") {
##NODE_BLOCK##
if($line =~ /(\w+)\s*=\s*([\w\.\-\+\/]+)/) {
if($line =~ /(\w+)\s*=\s*([\w\.\-\+\/:]+)/) {
$config{var}{$1} = $2;
}
}