mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
fix(vagrant): pad vagrant mac to six characters
This commit is contained in:
parent
c3efd9b622
commit
899e7ddebe
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user