Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion partition/roles/dhcp/templates/dhcpd.hosts.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#jinja2: lstrip_blocks: "True", trim_blocks: "True"
#jinja2: lstrip_blocks: True, trim_blocks: True
{% for host in dhcp_static_hosts %}
host {{ host.name }} {
hardware ethernet {{ host.mac }};
Expand Down
2 changes: 1 addition & 1 deletion partition/roles/sonic-config/templates/frr.conf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#jinja2: lstrip_blocks: "True", trim_blocks: "True"
#jinja2: lstrip_blocks: True, trim_blocks: True
frr defaults datacenter
hostname {{ inventory_hostname }}
!
Expand Down
2 changes: 1 addition & 1 deletion partition/roles/sonic/templates/frr.conf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#jinja2: lstrip_blocks: "True", trim_blocks: "True"
#jinja2: lstrip_blocks: True, trim_blocks: True
frr defaults datacenter
hostname {{ inventory_hostname }}
!
Expand Down
2 changes: 1 addition & 1 deletion partition/roles/sonic/templates/metal.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#jinja2: lstrip_blocks: "False", trim_blocks: "False"
#jinja2: lstrip_blocks: True, trim_blocks: True

@GeertJohan GeertJohan Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this change keeps behavior unchanged, but perhaps we want to change the behavior to actually lstrip and trim?

---
{% set vrfs = [] %}
DEVICE_METADATA:
Expand Down
Loading