Skip to content
Snippets Groups Projects
Commit e09f9867 authored by Jan Philipp Timme's avatar Jan Philipp Timme
Browse files

Add workaround for Debian 9

parent 940d5901
No related branches found
No related tags found
No related merge requests found
......@@ -21,3 +21,18 @@ hsh_override_resolveconf_with_symlink:
- force: True
- require:
- service: hsh_enable_and_restart_systemd_resolved
{% if grains['oscodename'] == 'stretch' %}
hsh_override_resolveconf_with_symlink:
file.managed:
- name: /run/systemd/resolve/stub-resolv.conf
- require:
- service: hsh_enable_and_restart_systemd_resolved
- content: |
# This file is managed by Salt.
# Welcome to the Debian 9 sadness. This file is a workaround.
# With Debian 10, systemd-resolved should replace this.
########
nameserver 127.0.0.53
options edns0
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment