Browse Source

Fix issue where interface is left unconfigured

Change-Id: I48f912c9d966c99d78cd2e89b605a2d016afe18b
tags/mcp0.5
Olivier Bourdon 8 years ago
parent
commit
fb9736ddbd
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      linux/network/interface.sls

+ 0
- 1
linux/network/interface.sls View File

@@ -119,7 +119,6 @@ linux_interface_{{ interface_name }}:
- type: {{ interface.type }}
{%- if interface.address is defined %}
{%- if grains.os_family == 'Debian' %}
- unless: grep -q "iface {{ interface_name }} " /etc/network/interfaces
- proto: {{ interface.get('proto', 'static') }}
{% endif %}
{%- if grains.os_family == 'RedHat' %}

Loading…
Cancel
Save