Browse Source

Merge "Ensure ipforward is set on all test bridges"

Zuul 2 months ago
parent
commit
d90acf00b6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      test-prepare-host.yml

+ 1
- 1
test-prepare-host.yml View File

@@ -153,7 +153,7 @@
153 153
           {%       set _ = systemd_network_networks.append({'interface': interface_name, 'netmask': (interface.netmask | default('255.255.255.0')), 'config_overrides': {'Network': {'Address': {(interface.ip_addr | default('10.1.0.1')): null, (interface.alias | string): null}}}}) %}
154 154
           {%     else %}
155 155
           {%       set _ = systemd_network_networks.append({'interface': 'dummy-' + interface_name, 'bridge': interface_name}) %}
156
-          {%       set _ = systemd_network_networks.append({'interface': interface_name, 'address': (interface.ip_addr | default('10.1.0.1')), 'netmask': (interface.netmask | default('255.255.255.0'))}) %}
156
+          {%       set _ = systemd_network_networks.append({'interface': interface_name, 'address': (interface.ip_addr | default('10.1.0.1')), 'netmask': (interface.netmask | default('255.255.255.0')), 'ipforward': true}) %}
157 157
           {%     endif %}
158 158
           {%     if interface.veth_peer is defined %}
159 159
           {%       set _ = systemd_network_networks.append({'interface': interface.veth_peer + '-veth', 'bridge': interface_name}) %}

Loading…
Cancel
Save