Teradata / stacki

Linux Cluster Builder - Bare Metal Red Hat & SUSE
http://www.stacki.org
Other
234 stars 74 forks source link

BUGFIX: Fix VM MAC generation #828

Closed caladd closed 4 years ago

caladd commented 4 years ago

The old code used hex to convert some random bytes to hex. The hex command throws away leading zeros, resulting in MAC addresses that were too short.

This code swaps that out for secrets.hex_token which will always return the correct number of characters.

bsanders commented 4 years ago

merged