Skip to content
Snippets Groups Projects
Commit c2bb7059 authored by Florent Thiery's avatar Florent Thiery
Browse files

disable systemd-resolve when installing cockpit

parent b79fc75a
No related branches found
No related tags found
No related merge requests found
......@@ -11,5 +11,8 @@ def setup(interactive=False):
'apt purge --auto-remove -y netplan.io',
'mkdir -p /etc/NetworkManager/conf.d',
'touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf',
'rm /etc/resolv.conf && cp /run/systemd/resolve/resolv.conf /etc/resolv.conf',
'systemctl disable --now systemd-resolved.service',
'printf "[main]\ndns=default" > /etc/NetworkManager/conf.d/disable-systemd-resolved.conf',
]
utils.run_commands(cmds)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment