aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/crmsh/files/patch-crmsh_corosync.py
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/crmsh/files/patch-crmsh_corosync.py')
-rw-r--r--net-mgmt/crmsh/files/patch-crmsh_corosync.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/crmsh/files/patch-crmsh_corosync.py b/net-mgmt/crmsh/files/patch-crmsh_corosync.py
new file mode 100644
index 000000000000..28b5d0a0e737
--- /dev/null
+++ b/net-mgmt/crmsh/files/patch-crmsh_corosync.py
@@ -0,0 +1,11 @@
+--- crmsh/corosync.py.orig 2018-04-19 03:47:12 UTC
++++ crmsh/corosync.py
+@@ -14,7 +14,7 @@ from .msg import err_buf, common_debug
+
+
+ def conf():
+- return os.getenv('COROSYNC_MAIN_CONFIG_FILE', '/etc/corosync/corosync.conf')
++ return os.getenv('COROSYNC_MAIN_CONFIG_FILE', '%%PREFIX%%/etc/corosync/corosync.conf')
+
+
+ def is_corosync_stack():