tf-ansible-workflow

Terraform/Ansible Workflow for Libvirt
git clone https://git.in0rdr.ch/tf-ansible-workflow.git
Log | Files | Refs | Pull requests |Archive

commit d960235aeb02f49cf2d6ff1c95887504777972c1
parent 41cac2d2db7624f29f13c1c7416cd75baf07ee00
Author: Andreas Gruhler <andreas.gruhler@adfinis-sygroup.ch>
Date:   Wed, 18 Sep 2019 23:14:06 +0200

mac function src

Diffstat:
MReadme.md | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/Readme.md b/Readme.md @@ -16,6 +16,7 @@ export PM_API_URL="https://cloud.proxmox.org/api2/json" Generate a unicast MAC foreach VM. For instance, use a bash script to do so: ``` #!/bin/sh +# source: https://serverfault.com/a/299563 function macaddr() { echo $RANDOM | md5sum | sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/' }