diff --git a/iridium_installer/backend/os_install.py b/iridium_installer/backend/os_install.py index c714b31..3e0dc55 100644 --- a/iridium_installer/backend/os_install.py +++ b/iridium_installer/backend/os_install.py @@ -125,6 +125,8 @@ def install_minimal_os(mount_root, releasever="43"): "systemd", "systemd-boot-unsigned", "dnf", + "shadow-utils", + "util-linux", "efibootmgr", "passwd", "rootfiles", @@ -156,13 +158,12 @@ def install_minimal_os(mount_root, releasever="43"): "--disablerepo=*", f"--repofrompath=iridium-iso,{iso_repo}", "--enablerepo=iridium-iso", - "--offline", "--cacheonly", ] else: logger.warning("ISO repository not found in common locations. DNF might try to use network.") - # Try to at least prevent some network usage - dnf_args = ["--offline"] + # Note: Avoid --offline in dnf5 as it defers the transaction to next boot. + dnf_args = [] cmd = [ "dnf",