changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/gen-mac.sh

changeset 339: b8fa25450726
parent: e7b1cc457afd
author: Richard Westhaver <ellis@rwest.io>
date: Sun, 21 Jul 2024 00:40:31 -0400
permissions: -rwxr-xr-x
description: tweak
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))