mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
QuickCloud: move devcloud configuration into pom profile for exec:java
Also ignore agent.properties in RAT since a. they are trivial b. they are modified by the java code (stripping the license) QuickCloud: proper path for log.home QuickCloud: proper path for secstorage.sh
This commit is contained in:
parent
5ff8bcaa2e
commit
778a59fbf6
4
pom.xml
4
pom.xml
@ -317,6 +317,10 @@
|
||||
<exclude>deps/XenServerJava/Makefile</exclude>
|
||||
<exclude>dist/console-proxy/js/jquery.js</exclude>
|
||||
<exclude>scripts/vm/systemvm/id_rsa.cloud</exclude>
|
||||
<exclude>services/console-proxy/server/conf/agent.properties</exclude>
|
||||
<exclude>services/console-proxy/server/conf/environment.properties</exclude>
|
||||
<exclude>services/secondary-storage/conf/agent.properties</exclude>
|
||||
<exclude>services/secondary-storage/conf/environment.properties</exclude>
|
||||
<exclude>tools/devcloud/basebuild/puppet-devcloudinitial/files/network.conf</exclude>
|
||||
<exclude>tools/appliance/definitions/devcloud/*</exclude>
|
||||
<exclude>tools/appliance/definitions/systemvmtemplate/*</exclude>
|
||||
|
||||
@ -1,19 +1,2 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
instance=ConsoleProxy
|
||||
resource=com.cloud.agent.resource.consoleproxy.ConsoleProxyResource
|
||||
|
||||
@ -280,11 +280,14 @@
|
||||
<argument>zone=1</argument>
|
||||
<argument>pod=1</argument>
|
||||
<argument>host=192.168.56.1</argument>
|
||||
<argument>guid=ConsoleProxy.1</argument>
|
||||
</arguments>
|
||||
<systemProperties>
|
||||
<systemProperty>
|
||||
<key>javax.net.ssl.trustStore</key>
|
||||
<value>certs/realhostip.keystore</value>
|
||||
<key>log.home</key>
|
||||
<value>${PWD}/</value>
|
||||
</systemProperty>
|
||||
</systemProperties>
|
||||
</configuration>
|
||||
|
||||
@ -28,6 +28,6 @@ do
|
||||
done
|
||||
keyvalues=
|
||||
#LOGHOME=/var/log/cloud/
|
||||
LOGHOME=$PWD
|
||||
LOGHOME=$PWD/
|
||||
|
||||
java -Djavax.net.ssl.trustStore=./certs/realhostip.keystore -Dlog.home=$LOGHOME -cp $CP com.cloud.agent.AgentShell $keyvalues $@
|
||||
|
||||
@ -28,6 +28,6 @@ do
|
||||
done
|
||||
keyvalues=
|
||||
#LOGHOME=/var/log/cloud/
|
||||
LOGHOME=$PWD
|
||||
LOGHOME=$PWD/
|
||||
|
||||
java -Djavax.net.ssl.trustStore=./certs/realhostip.keystore -Dlog.home=$LOGHOME -cp $CP com.cloud.agent.AgentShell $keyvalues $@
|
||||
@ -1,9 +1,2 @@
|
||||
#mount.path=~/secondary-storage
|
||||
eth1ip=192.168.56.1
|
||||
name=192.168.56.10
|
||||
eth2ip=192.168.56.10
|
||||
#mount.path=~/secondary-storage/
|
||||
resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
|
||||
piddir=.
|
||||
instance=SecondaryStorage
|
||||
developer=true
|
||||
secondary.storage.vm=false
|
||||
|
||||
@ -81,11 +81,19 @@
|
||||
<argument>zone=1</argument>
|
||||
<argument>pod=1</argument>
|
||||
<argument>host=192.168.56.1</argument>
|
||||
<argument>name=192.168.56.10</argument>
|
||||
<argument>eth1ip=192.168.56.10</argument>
|
||||
<argument>eth2ip=192.168.56.10</argument>
|
||||
<argument>guid=SecondaryStorage.1</argument>
|
||||
<argument>secondary.storage.vm=false</argument>
|
||||
<argument>instance=Secondary</argument>
|
||||
</arguments>
|
||||
<systemProperties>
|
||||
<systemProperty>
|
||||
<key>javax.net.ssl.trustStore</key>
|
||||
<value>certs/realhostip.keystore</value>
|
||||
<key>log.home</key>
|
||||
<value>${PWD}/</value>
|
||||
</systemProperty>
|
||||
</systemProperties>
|
||||
</configuration>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user