mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Added ant target deploy-server-encrypt to enable encryption in dev setup
This commit is contained in:
parent
097c260690
commit
09e4b1683f
@ -167,7 +167,12 @@
|
|||||||
<target name="deploy-server" depends="deploy-common, deploy-ovm, deploy-awsapi" >
|
<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" />
|
<copy todir="${server.deploy.to.dir}/webapps/client/WEB-INF/lib/vms" file="${dist.dir}/systemvm.iso" />
|
||||||
</target>
|
</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" >
|
<target name="deploy-common" >
|
||||||
<condition property="zip.uptodate">
|
<condition property="zip.uptodate">
|
||||||
<available file="${deploy.work.dir}/client.zip" type="file"/>
|
<available file="${deploy.work.dir}/client.zip" type="file"/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user