mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0083-RHEL-8-use-python3-as-nbdkit-plugin.patch

1b21a6
From 4cab81b3b3d69d618c7e36d9767b49834fa63b98 Mon Sep 17 00:00:00 2001
d0ea73
From: Pino Toscano <ptoscano@redhat.com>
d0ea73
Date: Sun, 16 Dec 2018 16:32:46 +0100
d0ea73
Subject: [PATCH] RHEL 8: use "python3" as nbdkit plugin
d0ea73
d0ea73
RHEL uses "python3" as name for the nbdkit Python plugin.
d0ea73
---
d0ea73
 v2v/output_rhv_upload.ml | 2 +-
d0ea73
 1 file changed, 1 insertion(+), 1 deletion(-)
d0ea73
d0ea73
diff --git a/v2v/output_rhv_upload.ml b/v2v/output_rhv_upload.ml
1b21a6
index 3977c0296..13c175f2d 100644
d0ea73
--- a/v2v/output_rhv_upload.ml
d0ea73
+++ b/v2v/output_rhv_upload.ml
d0ea73
@@ -79,7 +79,7 @@ let parse_output_options options =
d0ea73
   { rhv_cafile; rhv_cluster; rhv_direct; rhv_verifypeer }
d0ea73
 
d0ea73
 let python3 = "python3" (* Defined by PEP 394 *)
d0ea73
-let nbdkit_python_plugin = "python"
d0ea73
+let nbdkit_python_plugin = "python3"
d0ea73
 let pidfile_timeout = 30
d0ea73
 let finalization_timeout = 5*60
d0ea73
 
d0ea73
-- 
6b9fda
2.21.0
d0ea73