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

11 lines
426 B
Diff

--- a/agents/aliyun/fence_aliyun.py 2021-02-08 16:27:46.587068911 +0100
+++ b/agents/aliyun/fence_aliyun.py 2021-02-08 16:27:41.368054268 +0100
@@ -9,6 +9,7 @@
try:
+ sys.path.insert(0, '/usr/lib/fence-agents/support/aliyun/lib/python#PYTHON3_VERSION#/site-packages')
from aliyunsdkcore import client
from aliyunsdkcore.auth.credentials import EcsRamRoleCredential
from aliyunsdkcore.profile import region_provider