1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2018 Mirantis Inc., Enea AB and others.
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
10 Date: Sun, 25 Feb 2018 03:43:49 +0100
11 Subject: [PATCH] network.dpdk: Move ifcfg-br-prv to interfaces.u
13 Workaround for Upstream-Bug:
14 https://github.com/saltstack/salt/issues/40262
16 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
18 linux/network/dpdk.sls | 3 ++-
19 1 file changed, 2 insertions(+), 1 deletion(-)
21 diff --git a/linux/network/dpdk.sls b/linux/network/dpdk.sls
22 index 05fe05f..cc0ff9e 100644
23 --- a/linux/network/dpdk.sls
24 +++ b/linux/network/dpdk.sls
25 @@ -128,7 +128,7 @@ linux_network_dpdk_bridge_interface_{{ interface_name }}:
26 After=openvswitch-switch.service
28 {# enforce ip address and mtu for ovs dpdk br-prv #}
29 -/etc/network/interfaces.d/ifcfg-{{ interface_name }}:
30 +/etc/network/interfaces.u/ifcfg-{{ interface_name }}:
33 auto {{ interface_name }}
34 @@ -138,6 +138,7 @@ linux_network_dpdk_bridge_interface_{{ interface_name }}:
35 {%- if interface.mtu is defined %}
36 mtu {{ interface.mtu }}
40 - file: /etc/systemd/system/ifup@{{ interface_name }}.service.d/override.conf