diff options
author | Mürsel Türk | 2022-08-26 12:22:42 +0200 |
---|---|---|
committer | Mürsel Türk | 2022-08-26 12:45:52 +0200 |
commit | f6c6005cbb69cf6ffa78bcab2890a8fde663f107 (patch) | |
tree | cb3be663b96db196cc237884ad67aa06a6c9fb98 | |
parent | Add main tool to inspect windows and rpm-based distros (diff) | |
download | vm-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.py | 2 |
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): |