()
| 24 | |
| 25 | |
| 26 | def _log_sys_info() -> None: |
| 27 | # Log various information about hardware before starting the installation. This might assist in troubleshooting |
| 28 | debug(f'Hardware model detected: {SysInfo.sys_vendor()} {SysInfo.product_name()}; UEFI mode: {SysInfo.has_uefi()}') |
| 29 | debug(f'Processor model detected: {SysInfo.cpu_model()}') |
| 30 | debug(f'Memory statistics: {SysInfo.mem_available()} available out of {SysInfo.mem_total()} total installed') |
| 31 | debug(f'Virtualization detected: {SysInfo.virtualization()}; is VM: {SysInfo.is_vm()}') |
| 32 | debug(f'Graphics devices detected: {SysInfo._graphics_devices().keys()}') |
| 33 | |
| 34 | # For support reasons, we'll log the disk layout pre installation to match against post-installation layout |
| 35 | debug(f'Disk states before installing:\n{disk_layouts()}') |
| 36 | |
| 37 | |
| 38 | def _check_online(wifi_handler: WifiHandler | None = None) -> bool: |
no test coverage detected