mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone
Blob Blame History Raw
From 4cab81b3b3d69d618c7e36d9767b49834fa63b98 Mon Sep 17 00:00:00 2001
From: Pino Toscano <ptoscano@redhat.com>
Date: Sun, 16 Dec 2018 16:32:46 +0100
Subject: [PATCH] RHEL 8: use "python3" as nbdkit plugin

RHEL uses "python3" as name for the nbdkit Python plugin.
---
 v2v/output_rhv_upload.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/output_rhv_upload.ml b/v2v/output_rhv_upload.ml
index 3977c0296..13c175f2d 100644
--- a/v2v/output_rhv_upload.ml
+++ b/v2v/output_rhv_upload.ml
@@ -79,7 +79,7 @@ let parse_output_options options =
   { rhv_cafile; rhv_cluster; rhv_direct; rhv_verifypeer }
 
 let python3 = "python3" (* Defined by PEP 394 *)
-let nbdkit_python_plugin = "python"
+let nbdkit_python_plugin = "python3"
 let pidfile_timeout = 30
 let finalization_timeout = 5*60
 
-- 
2.21.0