index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-05-27 20:19:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 20:19:38 +0200 |
commit | 5a33ecf875c0739ce0786d067b8e5a4a9592ea79 (patch) | |
tree | b22880b5e279211508e9b0380de767da5a66dc61 /archinstall | |
parent | f4bb884625d4b2226e3b6ffbdb4423400c641bc1 (diff) | |
parent | 8ddb9153c7c9d0282e1fb3c9692ea0f29a4a74f6 (diff) |
-rw-r--r-- | archinstall/lib/hardware.py | 2 |
diff --git a/archinstall/lib/hardware.py b/archinstall/lib/hardware.py index 7c164096..6a3b166d 100644 --- a/archinstall/lib/hardware.py +++ b/archinstall/lib/hardware.py @@ -110,7 +110,7 @@ def cpu_vendor() -> Optional[str]: def is_vm() -> bool: try: # systemd-detect-virt issues a non-zero exit code if it is not on a virtual machine - if b"".join(SysCommand("systemd-detect-virt")).lower() != b"none": + if b"none" not in b"".join(SysCommand("systemd-detect-virt")).lower(): return True except: pass |