mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
Add comments to explain the hwtype change
This commit is contained in:
parent
1a4b89523b
commit
6df30438b2
@ -764,7 +764,9 @@ sub addnode
|
||||
$hostname = $1 . "-hf" . $count;
|
||||
}
|
||||
}
|
||||
} elsif (length($mac) == 23) {
|
||||
} elsif (length($mac) == 23) { # 8 bytes of mac address
|
||||
# Currently the only thing that has 8 bytes is an infiniband
|
||||
# or infiniband like device, which is type 32 (0x20).
|
||||
$hardwaretype = 32;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user