We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c715dff commit c6df4b0Copy full SHA for c6df4b0
files/image_config/interfaces/interfaces.j2
@@ -131,6 +131,7 @@ iface {{ name }} {{ 'inet' if prefix | ipv4 else 'inet6' }} static
131
{# TODO: COPP policy type rules #}
132
{% endfor %}
133
{% else %}
134
+{% if not (DEVICE_METADATA['localhost']['subtype'] == 'SmartSwitch' and DEVICE_METADATA['localhost']['switch_type'] == 'dpu') %}
135
auto eth0
136
iface eth0 inet dhcp
137
metric 202
@@ -142,6 +143,7 @@ iface eth0 inet6 dhcp
142
143
down sysctl net.ipv6.conf.eth0.accept_ra=0
144
{% endif %}
145
146
+{% endif %}
147
#
148
source /etc/network/interfaces.d/*
149
0 commit comments