fence-agents/ha-cloud-support-google.patch
Oyvind Albrigtsen c4e97edd10 - Bundled missing libraries
Resolves: RHEL-25954
2024-04-11 08:54:37 +02:00

11 lines
507 B
Diff

--- fence-agents-4.13.1/agents/gce/fence_gce.py 2023-06-13 09:08:11.000000000 +0200
+++ fence-agents-4.13.1/agents/gce/fence_gce.py.mod 2024-02-22 16:52:49.703854219 +0100
@@ -31,6 +31,7 @@
from fencing import fail_usage, run_delay, all_opt, atexit_handler, check_input, process_input, show_docs, fence_action, run_command
try:
+ sys.path.insert(0, '/usr/lib/fence-agents/support/google/lib/python#PYTHON3_VERSION#/site-packages')
import httplib2
import googleapiclient.discovery
import socks