You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by al...@apache.org on 2012/07/18 02:11:57 UTC

[5/6] git commit: Added ant target deploy-server-encrypt to enable encryption in dev setup

Added ant target deploy-server-encrypt to enable encryption in dev setup


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

Branch: refs/heads/vpc
Commit: 09e4b1683f5fbe65c654413d8de4ca32d38c7ec9
Parents: 097c260
Author: kishan <ki...@cloud.com>
Authored: Mon Jul 16 16:10:56 2012 -0700
Committer: kishan <ki...@cloud.com>
Committed: Mon Jul 16 16:11:44 2012 -0700

----------------------------------------------------------------------
 build/developer.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/09e4b168/build/developer.xml
----------------------------------------------------------------------
diff --git a/build/developer.xml b/build/developer.xml
index 4d466b7..ecd6939 100755
--- a/build/developer.xml
+++ b/build/developer.xml
@@ -167,7 +167,12 @@
   <target name="deploy-server" depends="deploy-common, deploy-ovm, deploy-awsapi" >
       <copy todir="${server.deploy.to.dir}/webapps/client/WEB-INF/lib/vms" file="${dist.dir}/systemvm.iso" />
   </target>
-
+	
+  <target name="deploy-server-encrypt" depends="deploy-server" >
+  	<move file="${server.deploy.to.dir}/conf/db-enc.properties" tofile="${server.deploy.to.dir}/conf/db.properties" overwrite="true"/>
+  	<echo file="/etc/cloud/management/key" append="false">password</echo>
+  </target>
+	
   <target name="deploy-common" > 
     <condition property="zip.uptodate">
       <available file="${deploy.work.dir}/client.zip" type="file"/>