Added enabling of systemd-networkd and systemd-resolvd in the copying of the ISO network configuration.
This commit is contained in:
parent
a3d9ad9f3f
commit
5bc878d58c
|
|
@ -200,6 +200,8 @@ class Installer():
|
||||||
# base is not installed yet.
|
# base is not installed yet.
|
||||||
def post_install_enable_iwd_service(*args, **kwargs):
|
def post_install_enable_iwd_service(*args, **kwargs):
|
||||||
self.enable_service('iwd')
|
self.enable_service('iwd')
|
||||||
|
self.enable_service('systemd-networkd')
|
||||||
|
self.enable_service('systemd-resolved')
|
||||||
|
|
||||||
self.post_base_install.append(post_install_enable_iwd_service)
|
self.post_base_install.append(post_install_enable_iwd_service)
|
||||||
# Otherwise, we can go ahead and add the required package
|
# Otherwise, we can go ahead and add the required package
|
||||||
|
|
@ -207,6 +209,8 @@ class Installer():
|
||||||
else:
|
else:
|
||||||
self.pacstrap(self.base_packages)
|
self.pacstrap(self.base_packages)
|
||||||
self.enable_service('iwd')
|
self.enable_service('iwd')
|
||||||
|
self.enable_service('systemd-networkd')
|
||||||
|
self.enable_service('systemd-resolved')
|
||||||
|
|
||||||
for psk in psk_files:
|
for psk in psk_files:
|
||||||
shutil.copy2(psk, f"{self.mountpoint}/var/lib/iwd/{os.path.basename(psk)}")
|
shutil.copy2(psk, f"{self.mountpoint}/var/lib/iwd/{os.path.basename(psk)}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue