Browse Source

Merge pull request #132 from alexandruavadanii/interface-repl-fix

network.interface: strict eol pattern matching
pull/133/head
Filip Pytloun 7 years ago
parent
commit
05eecf8559
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      linux/network/interface.sls

+ 2
- 2
linux/network/interface.sls View File

@@ -121,7 +121,7 @@ ovs_port_{{ interface_name }}:
ovs_port_{{ interface_name }}_line1:
file.replace:
- name: /etc/network/interfaces
- pattern: auto {{ interface_name }}
- pattern: auto {{ interface_name }}$
- repl: ""

ovs_port_{{ interface_name }}_line2:
@@ -246,7 +246,7 @@ linux_bond_interface_{{ interface_name }}:
remove_interface_{{ network }}_line1:
file.replace:
- name: /etc/network/interfaces
- pattern: auto {{ network }}
- pattern: auto {{ network }}$
- repl: ""

remove_interface_{{ network }}_line2:

Loading…
Cancel
Save