summaryrefslogtreecommitdiffstats
path: root/validator/docs/howto/virt-manager/genmac.sh
blob: 10b12f923cb7c0c412b679c750175b41949b8116 (plain)
1
2
3
#!/bin/bash
# generate a random mac address for the qemu nic
printf 'DE:AD:BE:EF:%02X:%02X\n' $((RANDOM%256)) $((RANDOM%256))