summaryrefslogtreecommitdiffstats
path: root/testing/cluster-glue/cluster-glue.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cluster-glue/cluster-glue.pre-install')
-rw-r--r--testing/cluster-glue/cluster-glue.pre-install11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/cluster-glue/cluster-glue.pre-install b/testing/cluster-glue/cluster-glue.pre-install
new file mode 100644
index 000000000..4e7f2f5ba
--- /dev/null
+++ b/testing/cluster-glue/cluster-glue.pre-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+addgroup haclient 2>/dev/null
+adduser hacluster \
+ -h /var/lib/heartbeat/cores/hacluster \
+ -G haclient \
+ -s /sbin/nologin \
+ 2>/dev/null
+
+exit 0
+