Merge pull request #198 from bcwaldon/virtualbox-mac

fix(vagrant): pad vagrant mac to six characters
This commit is contained in:
Brian Waldon 2014-03-19 17:17:38 -07:00
commit 8a5f6f3d07

View File

@ -38,7 +38,7 @@ fi
# their assigned prefix for the first 3 bytes followed by 3 random bytes.
VBOX_MAC_PREFIX=080027
macgen() {
hexdump -n3 -e "\"${VBOX_MAC_PREFIX}%X\n\"" /dev/urandom
hexdump -n3 -e "\"${VBOX_MAC_PREFIX}%06X\n\"" /dev/urandom
}
# Used in both the ovf and Vagrantfile