Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-01-26 00:13:40 +0100
committerAnton Hvornum <anton@hvornum.se>2021-01-26 00:13:40 +0100
commit5bc878d58c5a86dde7d141d60289757d411c80ce (patch)
treeee03779eca7962d8f3518d711b9445244c9a22fa /archinstall/lib/installer.py
parenta3d9ad9f3f48c9bd06edb6c1ec58b55ac4bb6741 (diff)
Added enabling of systemd-networkd and systemd-resolvd in the copying of the ISO network configuration.
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py4
1 files changed, 4 insertions, 0 deletions
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)}")