()
| 292 | |
| 293 | @staticmethod |
| 294 | def virtualization() -> str | None: |
| 295 | try: |
| 296 | return str(SysCommand('systemd-detect-virt')).strip('\r\n') |
| 297 | except SysCallError as err: |
| 298 | debug(f'Could not detect virtual system: {err}') |
| 299 | |
| 300 | return None |
| 301 | |
| 302 | @staticmethod |
| 303 | def is_vm() -> bool: |
no test coverage detected