From d9aa7e6b34a969b46f97a24b9387d215605747c8 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sat, 6 Nov 2021 12:14:04 +0100 Subject: Added a delay on systemd-nspawn This to avoid "Transport endpoint is not connected" --- archinstall/lib/systemd.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'archinstall/lib/systemd.py') diff --git a/archinstall/lib/systemd.py b/archinstall/lib/systemd.py index a7e35839..4df347c6 100644 --- a/archinstall/lib/systemd.py +++ b/archinstall/lib/systemd.py @@ -1,4 +1,5 @@ import logging +import time from .general import SysCommand, SysCommandWorker, locate_binary from .installer import Installer from .output import log @@ -60,6 +61,8 @@ class Boot: self.session = existing_session.session self.ready = existing_session.ready else: + log(f"Temporarily booting up installed system using systemd-nspawn") + time.sleep(1) self.session = SysCommandWorker([ '/usr/bin/systemd-nspawn', '-D', self.instance.target, -- cgit v1.2.3-70-g09d2