From 261e9d98fe16ddfb8fbddf43ddd5893f70bd8b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Fri, 2 Feb 2024 12:26:17 +0100 Subject: [PATCH] Fix error message regarding ovftool For ova support kiwi still uses the proprietary ovftool from VMware. The error message if the tool could not be found was broken and the link to the VMware page was also outdated. --- kiwi/storage/subformat/ova.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kiwi/storage/subformat/ova.py b/kiwi/storage/subformat/ova.py index f7ff050c..6a3b26cb 100644 --- a/kiwi/storage/subformat/ova.py +++ b/kiwi/storage/subformat/ova.py @@ -63,15 +63,15 @@ class DiskFormatOva(DiskFormatBase): ovftool = Path.which(filename='ovftool', access_mode=os.X_OK) if not ovftool: tool_not_found_message = dedent('''\n - Required tool {0} not found in PATH on the build host + Required ovftool not found in PATH on the build host - Building OVA images requires VMware's {0} tool which + Building OVA images requires VMware's ovftool tool which can be installed from the following location - https://www.vmware.com/support/developer/ovf + https://developer.vmware.com/web/tool/ovf ''') raise KiwiCommandNotFound( - tool_not_found_message.format(ovftool) + tool_not_found_message ) # Create the vmdk disk image and vmx config