diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-09-24 18:22:49 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-09-24 18:23:39 +0200 |
commit | 2b06653a824f21bf5b3a843f109f99096e7500ff (patch) | |
tree | 01934e9dbfbcba2928b90440aa5ba3aa53c1c6db /src | |
parent | 92edd930c49b63247dbbcc370c9f93b3456cb855 (diff) | |
download | vyos-1x-2b06653a824f21bf5b3a843f109f99096e7500ff.tar.gz vyos-1x-2b06653a824f21bf5b3a843f109f99096e7500ff.zip |
dns: forwarding: T2921: template cleanup
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/dns_forwarding.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/dns_forwarding.py b/src/conf_mode/dns_forwarding.py index 53bc37882..d6eb76d91 100755 --- a/src/conf_mode/dns_forwarding.py +++ b/src/conf_mode/dns_forwarding.py @@ -148,10 +148,10 @@ def generate(dns): return None render(pdns_rec_config_file, 'dns-forwarding/recursor.conf.tmpl', - dns, user=pdns_rec_user, group=pdns_rec_group) + dns, trim_blocks=True, user=pdns_rec_user, group=pdns_rec_group) render(pdns_rec_lua_conf_file, 'dns-forwarding/recursor.conf.lua.tmpl', - dns, user=pdns_rec_user, group=pdns_rec_group) + dns, trim_blocks=True, user=pdns_rec_user, group=pdns_rec_group) # if vyos-hostsd didn't create its files yet, create them (empty) for f in [pdns_rec_hostsd_lua_conf_file, pdns_rec_hostsd_zones_file]: |