blob: adf039e5698dab1019863e27ebeafc8d29f12053 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
post_install(){ :
usr/bin/getent group haclient >/dev/null || usr/bin/groupadd -r haclient -g 189
usr/bin/getent passwd hacluster >/dev/null || usr/bin/useradd -r -g 189 -u 189 -s /sbin/nologin -c "cluster user" -d / hacluster
}
post_upgrade(){ :
}
post_remove(){ :
usr/bin/getent group haclient >/dev/null && usr/bin/groupdel -f haclient
usr/bin/getent passwd hacluster >/dev/null && usr/bin/userdel hacluster
# usr/bin/rm -fr var/lib/pacemaker
}
|