You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2012/10/08 19:39:13 UTC

[7/8] git commit: CLOUDSTACK-221: Add user/group before installing aws-api

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 <bh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/029b9dde
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/029b9dde
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/029b9dde

Branch: refs/heads/master
Commit: 029b9dde864cae940236e45007a99dc89617c1d9
Parents: e63a3b6
Author: Rohit Yadav <bh...@apache.org>
Authored: Mon Oct 8 15:37:56 2012 +0530
Committer: Rohit Yadav <bh...@apache.org>
Committed: Mon Oct 8 23:05:32 2012 +0530

----------------------------------------------------------------------
 cloud.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/029b9dde/cloud.spec
----------------------------------------------------------------------
diff --git a/cloud.spec b/cloud.spec
index f52387f..8698fb2 100644
--- a/cloud.spec
+++ b/cloud.spec
@@ -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