diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-27 15:41:17 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-27 15:41:17 +0100 |
commit | a2ac9fac16eeb626d3969092fecf463650750640 (patch) | |
tree | ab54dfe9c575e1bf719735e859ac136e375cf5c8 /src/conf_mode/interfaces-wirelessmodem.py | |
parent | fb7e761ae3efa8f17d9199f29dae2fdc1f51f188 (diff) | |
download | vyos-1x-a2ac9fac16eeb626d3969092fecf463650750640.tar.gz vyos-1x-a2ac9fac16eeb626d3969092fecf463650750640.zip |
vyos.template: T2720: always enable Jinja2 trim_blocks feature
Diffstat (limited to 'src/conf_mode/interfaces-wirelessmodem.py')
-rwxr-xr-x | src/conf_mode/interfaces-wirelessmodem.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/conf_mode/interfaces-wirelessmodem.py b/src/conf_mode/interfaces-wirelessmodem.py index bce3405d0..976953b31 100755 --- a/src/conf_mode/interfaces-wirelessmodem.py +++ b/src/conf_mode/interfaces-wirelessmodem.py @@ -91,21 +91,21 @@ def generate(wwan): wwan['device'] = find_device_file(wwan['device']) # Create PPP configuration files - render(config_wwan, 'wwan/peer.tmpl', wwan, trim_blocks=True) + render(config_wwan, 'wwan/peer.tmpl', wwan) # Create PPP chat script - render(config_wwan_chat, 'wwan/chat.tmpl', wwan, trim_blocks=True) + render(config_wwan_chat, 'wwan/chat.tmpl', wwan) # generated script file must be executable # Create script for ip-pre-up.d render(script_wwan_pre_up, 'wwan/ip-pre-up.script.tmpl', - wwan, trim_blocks=True, permission=0o755) + wwan, permission=0o755) # Create script for ip-up.d render(script_wwan_ip_up, 'wwan/ip-up.script.tmpl', - wwan, trim_blocks=True, permission=0o755) + wwan, permission=0o755) # Create script for ip-down.d render(script_wwan_ip_down, 'wwan/ip-down.script.tmpl', - wwan, trim_blocks=True, permission=0o755) + wwan, permission=0o755) return None |