From 303fc3e08634dc14c71819f0e49fa946659bf0e2 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sun, 19 Feb 2023 17:59:38 +0100 Subject: [PATCH] updated openvpn_client state --- states/openvpn_client/templates/vpn.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/states/openvpn_client/templates/vpn.conf.j2 b/states/openvpn_client/templates/vpn.conf.j2 index efc2999..9e8eb4b 100644 --- a/states/openvpn_client/templates/vpn.conf.j2 +++ b/states/openvpn_client/templates/vpn.conf.j2 @@ -27,7 +27,7 @@ compress lzo fast-io {% for k,v in salt['network.interfaces']().items() -%} -{%- if k.startswith('en') or k.startswith('eth') %} +{%- if k.startswith('en') or k.startswith('eth') or k.startswith('wl') %} {%- for net in salt['network.subnets'](k) %} pull-filter ignore "route {{ net.split("/")[0] }}" {%- endfor %}