fence-agents/ha-cloud-support-google.patch
Oyvind Albrigtsen fba4e41bfa - create ha-cloud support package
- add ha-cloud patches and dependencies
- remove hds-cb for now
2021-02-11 11:35:03 +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