2
0
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:
Jarrod Johnson 2019-01-25 10:43:20 -05:00
parent 1a4b89523b
commit 6df30438b2

View File

@ -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;
}