diff options
Diffstat (limited to 'genmacaddr')
-rwxr-xr-x | genmacaddr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/genmacaddr b/genmacaddr new file mode 100755 index 0000000..093e616 --- /dev/null +++ b/genmacaddr @@ -0,0 +1,5 @@ +#!/bin/bash + +# Generate a random mac address for the qemu nic. +# +printf 'DE:AD:BE:EF:%02X:%02X\n' $((RANDOM%256)) $((RANDOM%256)) |