changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/gen-mac.sh

changeset 249: e7b1cc457afd
author: Richard Westhaver <ellis@rwest.io>
date: Sat, 01 Jun 2024 19:15:34 -0400
permissions: -rwxr-xr-x
description: qemu stuff
1 #!/bin/bash
2 # generate a random mac address for the qemu nic
3 printf 'DE:AD:BE:EF:%02X:%02X\n' $((RANDOM%256)) $((RANDOM%256))