2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-11 22:10:14 +00:00

add mac address support

This commit is contained in:
litingt
2015-01-19 23:45:05 -08:00
parent 22040ba037
commit b8ce853cb6

View File

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