Browse Source

Move ifcfg-br-prv to interfaces.u

Change-Id: I016a0737e700162e41a39cf5643d5ee3c42c2cc5
Prod-Related: PROD-20467
pull/143/merge
Oleksii Chupryn 6 years ago
parent
commit
8cea4f044b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      linux/network/dpdk.sls

+ 2
- 1
linux/network/dpdk.sls View File

After=openvswitch-switch.service After=openvswitch-switch.service


{# enforce ip address and mtu for ovs dpdk br-prv #} {# enforce ip address and mtu for ovs dpdk br-prv #}
/etc/network/interfaces.d/ifcfg-{{ interface_name }}:
/etc/network/interfaces.u/ifcfg-{{ interface_name }}:
file.managed: file.managed:
- contents: | - contents: |
auto {{ interface_name }} auto {{ interface_name }}
{%- if interface.mtu is defined %} {%- if interface.mtu is defined %}
mtu {{ interface.mtu }} mtu {{ interface.mtu }}
{%- endif %} {%- endif %}
- makedirs: True
- require: - require:
- file: /etc/systemd/system/ifup@{{ interface_name }}.service.d/override.conf - file: /etc/systemd/system/ifup@{{ interface_name }}.service.d/override.conf



Loading…
Cancel
Save