changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/gen-mac.sh

changeset 322: 167a8ece2416
parent: e7b1cc457afd
author: Richard Westhaver <ellis@rwest.io>
date: Sun, 07 Jul 2024 21:18:15 -0400
permissions: -rwxr-xr-x
description: ugh2
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))