Browse Source

Disable resolvconf updates when nameservers are defined

tags/2016.12
Filip Pytloun 8 years ago
parent
commit
271ee55fde
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      linux/network/resolv.sls

+ 5
- 0
linux/network/resolv.sls View File

@@ -7,4 +7,9 @@
- mode: 644
- template: jinja

linux_resolvconf_disable:
cmd.run:
- name: resolvconf --disable-updates
- onlyif: resolvconf --updates-are-enabled

{%- endif %}

Loading…
Cancel
Save