diff options
-rwxr-xr-x | src/conf_mode/ssh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/ssh.py b/src/conf_mode/ssh.py index b5112ae71..014045796 100755 --- a/src/conf_mode/ssh.py +++ b/src/conf_mode/ssh.py @@ -121,7 +121,7 @@ def generate(ssh): # Prepare Jinja2 template loader from files tmpl_path = os.path.join(vyos_data_dir['data'], 'templates', 'ssh') fs_loader = FileSystemLoader(tmpl_path) - env = Environment(loader=fs_loader) + env = Environment(loader=fs_loader, trim_blocks=True) tmpl = env.get_template('sshd_config.tmpl') config_text = tmpl.render(ssh) |