mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-221: Add user/group before installing aws-api
Since cloud-client requires aws-api package, and is installed before aws-api, the patch sets up user/group first. Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
e63a3b6fa2
commit
029b9dde86
|
|
@ -331,7 +331,7 @@ if [ "$1" == "0" ] ; then
|
|||
/sbin/service %{name}-management stop > /dev/null 2>&1 || true
|
||||
fi
|
||||
|
||||
%pre client
|
||||
%pre aws-api
|
||||
id %{name} > /dev/null 2>&1 || /usr/sbin/useradd -M -c "CloudStack unprivileged user" \
|
||||
-r -s /bin/sh -d %{_sharedstatedir}/%{name}/management %{name}|| true
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue