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
This commit is contained in:
parent
63f04d3110
commit
07ca7f421d
|
|
@ -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'])
|
||||
|
|
|
|||
Loading…
Reference in New Issue