From 5bc878d58c5a86dde7d141d60289757d411c80ce Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 26 Jan 2021 00:13:40 +0100 Subject: Added enabling of systemd-networkd and systemd-resolvd in the copying of the ISO network configuration. --- archinstall/lib/installer.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'archinstall') diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index e1a37f32..d01cb882 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -200,6 +200,8 @@ class Installer(): # base is not installed yet. def post_install_enable_iwd_service(*args, **kwargs): self.enable_service('iwd') + self.enable_service('systemd-networkd') + self.enable_service('systemd-resolved') self.post_base_install.append(post_install_enable_iwd_service) # Otherwise, we can go ahead and add the required package @@ -207,6 +209,8 @@ class Installer(): else: self.pacstrap(self.base_packages) self.enable_service('iwd') + self.enable_service('systemd-networkd') + self.enable_service('systemd-resolved') for psk in psk_files: shutil.copy2(psk, f"{self.mountpoint}/var/lib/iwd/{os.path.basename(psk)}") -- cgit v1.2.3-54-g00ecf