From 07ca7f421db34a51abd3ea48725d0a8659028edf Mon Sep 17 00:00:00 2001 From: Giancarlo Razzolini Date: Thu, 21 Jan 2021 15:02:33 -0300 Subject: examples/guided: Enable systemd-resolved If we enable systemd-networkd and do not enable systemd-resolved, the installed system is left on a state where it has networking, but can resolve any hostnames. It is required to have systemd-resolved enabled if any .network file has a DNS entry or is using DHCP=yes. https://wiki.archlinux.org/index.php/Systemd-networkd#Required_services_and_setup --- examples/guided.py | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') diff --git a/examples/guided.py b/examples/guided.py index 4bc65349..7726d5b9 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -52,6 +52,7 @@ def perform_installation(device, boot_partition, language, mirrors): if archinstall.storage['_guided']['network']: installation.configure_nic(**archinstall.storage['_guided']['network']) installation.enable_service('systemd-networkd') + installation.enable_service('systemd-resolved') if archinstall.storage['_guided']['packages'] and archinstall.storage['_guided']['packages'][0] != '': installation.add_additional_packages(archinstall.storage['_guided']['packages']) -- cgit v1.2.3-54-g00ecf