mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-24 15:05:36 +00:00
make xcattest can recognize MAC addr in conf file
This commit is contained in:
@ -192,7 +192,7 @@ sub getConfig
|
||||
}
|
||||
}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"){
|
||||
|
Reference in New Issue
Block a user