changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/gen-mac.sh

changeset 371: 7dcabf3e0edc
parent: e7b1cc457afd
author: Richard Westhaver <ellis@rwest.io>
date: Tue, 24 Sep 2024 15:53:24 -0400
permissions: -rwxr-xr-x
description: no link in bootstrap.sh
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))