Send logs as file, create sudoer user, and improve bootloader reliability

This commit is contained in:
2026-02-05 13:22:34 +01:00
parent bba28a6f77
commit 8bac02357c
4 changed files with 62 additions and 35 deletions

View File

@@ -57,7 +57,14 @@ def main():
print("Step 4: Configuring Bootloader...")
logger.info("INSTALLER_BOOTLOADER: Configuring bootloader")
configure_system(mount_root, parts)
# Default user for CLI install (since we don't have user input in CLI args yet)
user_info = {
"username": "admin",
"password": "password", # Insecure default for CLI dev testing
"hostname": "iridium-cli"
}
configure_system(mount_root, parts, user_info)
logger.info("INSTALLER_BOOTLOADER_COMPLETE: Bootloader configured")
print("Installation complete! You can now reboot.")