From 5ac6c9e4a8fdbedb5154ff05ca3560d0f9cfe501 Mon Sep 17 00:00:00 2001 From: Andrew Bonney Date: Fri, 21 Nov 2025 13:00:29 +0000 Subject: [PATCH] Fix indentation for aio networking-post-up service Existing indentation causes the service to fail to start due to an unexpected [DEFAULT] section. Change-Id: If99b1d98cb92da95bc60eee7c1e31810f19558c4 Signed-off-by: Andrew Bonney --- .../templates/aio1_networks.yml.j2 | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/tests/roles/bootstrap-host/templates/aio1_networks.yml.j2 b/tests/roles/bootstrap-host/templates/aio1_networks.yml.j2 index fa2bd898b6..e01d7d6a46 100644 --- a/tests/roles/bootstrap-host/templates/aio1_networks.yml.j2 +++ b/tests/roles/bootstrap-host/templates/aio1_networks.yml.j2 @@ -163,41 +163,41 @@ aio_systemd_networkd_networks_bootstrap: aio_systemd_services_postnetwork: - service_name: "networking-post-up" config_overrides: - Unit: + Unit: Description: networking-post-up After: network-online.target Wants: network-online.target - Service: + Service: RemainAfterExit: true service_type: oneshot execstarts: - - "-{{ bootstrap_host_iptables_path }} -t nat -A POSTROUTING -o {{ bootstrap_host_public_interface }} -j MASQUERADE" - - "-{{ bootstrap_host_ethtool_path }} -K br-mgmt gso off sg off tso off tx off" - - "-{{ bootstrap_host_ethtool_path }} -K br-vxlan gso off sg off tso off tx off" - - "-{{ bootstrap_host_ethtool_path }} -K br-storage gso off sg off tso off tx off" - - "-{{ bootstrap_host_ethtool_path }} -K br-vlan gso off sg off tso off tx off" - - "-{{ bootstrap_host_ip_path }} link set eth12 up" - - "-{{ bootstrap_host_ip_path }} link set br-vlan-veth up" - - "-{{ bootstrap_host_ethtool_path }} -K eth12 gso off sg off tso off tx off" + - "{{ bootstrap_host_iptables_path }} -t nat -A POSTROUTING -o {{ bootstrap_host_public_interface }} -j MASQUERADE" + - "{{ bootstrap_host_ethtool_path }} -K br-mgmt gso off sg off tso off tx off" + - "{{ bootstrap_host_ethtool_path }} -K br-vxlan gso off sg off tso off tx off" + - "{{ bootstrap_host_ethtool_path }} -K br-storage gso off sg off tso off tx off" + - "{{ bootstrap_host_ethtool_path }} -K br-vlan gso off sg off tso off tx off" + - "{{ bootstrap_host_ip_path }} link set eth12 up" + - "{{ bootstrap_host_ip_path }} link set br-vlan-veth up" + - "{{ bootstrap_host_ethtool_path }} -K eth12 gso off sg off tso off tx off" {% if 'trove' in bootstrap_host_scenarios_expanded %} - - "-{{ bootstrap_host_ethtool_path }} -K br-dbaas gso off sg off tso off tx off" - - "-{{ bootstrap_host_ip_path }} link set eth13 up" - - "-{{ bootstrap_host_ip_path }} link set br-dbaas-veth up" - - "-{{ bootstrap_host_ethtool_path }} -K eth13 gso off sg off tso off tx off" + - "{{ bootstrap_host_ethtool_path }} -K br-dbaas gso off sg off tso off tx off" + - "{{ bootstrap_host_ip_path }} link set eth13 up" + - "{{ bootstrap_host_ip_path }} link set br-dbaas-veth up" + - "{{ bootstrap_host_ethtool_path }} -K eth13 gso off sg off tso off tx off" {% endif %} {% if 'octavia' in bootstrap_host_scenarios_expanded %} - - "-{{ bootstrap_host_ethtool_path }} -K br-lbaas gso off sg off tso off tx off" - - "-{{ bootstrap_host_ip_path }} link set eth14 up" - - "-{{ bootstrap_host_ip_path }} link set br-lbaas-veth up" - - "-{{ bootstrap_host_ethtool_path }} -K eth14 gso off sg off tso off tx off" + - "{{ bootstrap_host_ethtool_path }} -K br-lbaas gso off sg off tso off tx off" + - "{{ bootstrap_host_ip_path }} link set eth14 up" + - "{{ bootstrap_host_ip_path }} link set br-lbaas-veth up" + - "{{ bootstrap_host_ethtool_path }} -K eth14 gso off sg off tso off tx off" {% endif %} {% if 'ironic' in bootstrap_host_scenarios_expanded %} - - "-{{ bootstrap_host_ethtool_path }} -K br-bmaas gso off sg off tso off tx off" - - "-{{ bootstrap_host_ip_path }} link set eth15 up" - - "-{{ bootstrap_host_ip_path }} link set br-bmaas-veth up" - - "-{{ bootstrap_host_ethtool_path }} -K eth15 gso off sg off tso off tx off" + - "{{ bootstrap_host_ethtool_path }} -K br-bmaas gso off sg off tso off tx off" + - "{{ bootstrap_host_ip_path }} link set eth15 up" + - "{{ bootstrap_host_ip_path }} link set br-bmaas-veth up" + - "{{ bootstrap_host_ethtool_path }} -K eth15 gso off sg off tso off tx off" {% endif %} execstops: - - "{{ bootstrap_host_iptables_path }} -t nat -D POSTROUTING -o {{ bootstrap_host_public_interface }} -j MASQUERADE" + - "{{ bootstrap_host_iptables_path }} -t nat -D POSTROUTING -o {{ bootstrap_host_public_interface }} -j MASQUERADE" enabled: true state: started