From ac48746a11d3810fb1e1c7499bc3e273bb42cb04 Mon Sep 17 00:00:00 2001 From: Tobias Hachmer Date: Wed, 25 Oct 2017 19:50:06 +0200 Subject: [PATCH] Roles service-fastd-[intragate|mesh]: update mac prefixes due to fastd instances change --- roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 | 2 +- roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 b/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 index 817ffa5..e1019c6 100644 --- a/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 +++ b/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 @@ -1,5 +1,5 @@ {% set ip4hex = item.0.ipv4_network | ipaddr('net') | ipaddr(magic) | ipaddr('address') | ip4_hex() -%} -{% set mac = '0212' + ip4hex -%} +{% set mac = '023' + item.1.id|string + ip4hex -%} # # {{ ansible_managed }} # diff --git a/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 b/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 index 038ac4d..99fc1f6 100644 --- a/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 +++ b/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 @@ -1,5 +1,5 @@ {% set ip4hex = item.0.ipv4_network | ipaddr('net') | ipaddr(magic) | ipaddr('address') | ip4_hex() -%} -{% set mac = '0211' + ip4hex -%} +{% set mac = '022' + item.1.id|string + ip4hex -%} # # {{ ansible_managed }} #