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 12:10:54 UTC

git commit: CLOUDSTACK-221: Add user/group before installing aws-api

Updated Branches:
  refs/heads/4.0 8ec7cf2b4 -> 98eef5c94


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/98eef5c9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/98eef5c9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/98eef5c9

Branch: refs/heads/4.0
Commit: 98eef5c9490c349d621180823807561c0ee8b357
Parents: 8ec7cf2
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 15:40:35 2012 +0530

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/98eef5c9/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