Skip to content

Commit 792db9e

Browse files
authored
quick fix to run archinstall and enable systemd services (#3815)
1 parent df3b5d7 commit 792db9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

archinstall/lib/installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ def enable_service(self, services: str | list[str]) -> None:
667667
info(f'Enabling service {service}')
668668

669669
try:
670-
self.arch_chroot(f'systemctl enable {service}')
670+
SysCommand(f'systemctl --root={self.target} enable {service}')
671671
except SysCallError as err:
672672
raise ServiceException(f'Unable to start service {service}: {err}')
673673

0 commit comments

Comments
 (0)