fence-agents/ha-cloud-support-google.patch
2021-02-16 12:18:46 +01:00

11 lines
461 B
Diff

--- a/agents/gce/fence_gce.py 2021-02-10 16:13:16.156356744 +0100
+++ b/agents/gce/fence_gce.py 2021-02-10 16:13:29.346383884 +0100
@@ -28,6 +28,7 @@
from fencing import fail_usage, run_delay, all_opt, atexit_handler, check_input, process_input, show_docs, fence_action
try:
+ sys.path.insert(0, '/usr/lib/fence-agents/support/google')
import googleapiclient.discovery
try:
from google.oauth2.credentials import Credentials as GoogleCredentials