From ee9973ee76d0f5cd280ebf9d84334a1d80b62755 Mon Sep 17 00:00:00 2001 From: Marek Isalski Date: Tue, 11 Aug 2020 08:11:39 +0100 Subject: [PATCH] fix RADIUS support pillar --- vyos.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vyos.conf.j2 b/vyos.conf.j2 index c874e2e..019c806 100644 --- a/vyos.conf.j2 +++ b/vyos.conf.j2 @@ -1515,7 +1515,7 @@ system { } {% endfor %} {% if 'source-address' in salt['pillar.get']('radius',{}) %} - radius-source-address {{ pillar['radius:source-address'] }} + radius-source-address {{ salt['pillar.get']('radius:source-address') }} {% endif %} {% else %} radius { @@ -1524,7 +1524,7 @@ system { key {{ server_data.get('key',server_data.get('secret','')) }} } {% endfor %} - source-address {{ pillar['radius:source-address'] }} + source-address {{ salt['pillar.get']('radius:source-address') }} } {% endif %} {% endif %}