diff --git a/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 b/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 index d9e435d..fb46a4c 100644 --- a/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 +++ b/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 @@ -24,7 +24,7 @@ peer group "servers" { on up " ip link set $INTERFACE down - ip link set address {{ mac }} dev $INTERFACE + ip link set address {{ mac | hwaddr('linux') }} dev $INTERFACE ip link set $INTERFACE up batctl -m {{ item.key }}BAT if add $INTERFACE diff --git a/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 b/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 index 33d919c..9345fad 100644 --- a/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 +++ b/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 @@ -31,7 +31,7 @@ peer group "servers" { on up " ip link set $INTERFACE down - ip link set address {{ mac }} dev $INTERFACE + ip link set address {{ mac | hwaddr('linux') }} dev $INTERFACE ip link set $INTERFACE up batctl -m {{ item.key }}BAT if add $INTERFACE