Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2021-01-21 15:02:33 -0300
committerGiancarlo Razzolini <grazzolini@archlinux.org>2021-01-21 15:02:33 -0300
commit07ca7f421db34a51abd3ea48725d0a8659028edf (patch)
tree5c17c59ed3db37876dc216c6d46b4e037f1a07d4 /examples
parent63f04d3110b03706610ed4515507b64fa054847e (diff)
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
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py1
1 files changed, 1 insertions, 0 deletions
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'])