summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMürsel Türk2022-08-26 12:22:42 +0200
committerMürsel Türk2022-08-26 12:45:52 +0200
commitf6c6005cbb69cf6ffa78bcab2890a8fde663f107 (patch)
treecb3be663b96db196cc237884ad67aa06a6c9fb98
parentAdd main tool to inspect windows and rpm-based distros (diff)
downloadvm-inspector-f6c6005cbb69cf6ffa78bcab2890a8fde663f107.tar.gz
vm-inspector-f6c6005cbb69cf6ffa78bcab2890a8fde663f107.tar.xz
vm-inspector-f6c6005cbb69cf6ffa78bcab2890a8fde663f107.zip
Fix regex for windows images
-rwxr-xr-x[-rw-r--r--]inspect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/inspect.py b/inspect.py
index a53b572..07b8d09 100644..100755
--- a/inspect.py
+++ b/inspect.py
@@ -14,7 +14,7 @@ fmt = "{asctime}, {name}:{lineno}:{funcName}(), {levelname}, {message}"
logging.basicConfig(level=logging.DEBUG, format=fmt, style="{")
RPM = re.compile(r"^(CentOS|AlmaLinux|Scientific|Rocky|Oracle|openSUSE|Fedora).*$") # noqa
-WIN = re.compile(r"^(Microsoft).*$")
+WIN = re.compile(r"^(Microsoft|Windows).*$")
def main(vmdk_path):