summaryrefslogtreecommitdiff
path: root/ha-cloud-support-azure.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:21:23 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:21:23 +0000
commit247fc79a80bec95c23eac2c1d19b47ed30f7350b (patch)
tree59f40f8d3835d3954a48242fe49c7195f9cb55c5 /ha-cloud-support-azure.patch
parent656cec46a0f3499446d93967253acac7c8acfe6f (diff)
automatic import of fence-agentsopeneuler24.03_LTS
Diffstat (limited to 'ha-cloud-support-azure.patch')
-rw-r--r--ha-cloud-support-azure.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ha-cloud-support-azure.patch b/ha-cloud-support-azure.patch
new file mode 100644
index 0000000..f8290f5
--- /dev/null
+++ b/ha-cloud-support-azure.patch
@@ -0,0 +1,12 @@
+--- fence-agents-4.7.1/lib/azure_fence.py.py 2021-02-08 16:52:32.955244393 +0100
++++ fence-agents-4.7.1/lib/azure_fence.py.py.modif 2021-02-08 16:52:28.150234151 +0100
+@@ -1,6 +1,9 @@
+ import logging, re, time
+ from fencing import fail_usage
+
++import sys
++sys.path.insert(0, '/usr/lib/fence-agents/support/azure')
++
+ FENCE_SUBNET_NAME = "fence-subnet"
+ FENCE_INBOUND_RULE_NAME = "FENCE_DENY_ALL_INBOUND"
+ FENCE_INBOUND_RULE_DIRECTION = "Inbound"