1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

yaml set the variable wan_nameserver as 'null' without quotes then jinja converts that 'none'

This commit is contained in:
Jerry Vonau 2020-05-11 10:54:26 -05:00
parent 9524b454bf
commit 754c521f0c

View file

@ -1,7 +1,7 @@
#IIAB
bind-interfaces
# Wan nameserver if manually set
{% if wan_nameserver != "" %}
{% if wan_nameserver is not none %}
no-resolv
server={{ wan_nameserver }}
{% endif %}