mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Add urandom as random source in install.sh
Add urandom as random source in before_script.sh Remove commented lines in before_script.sh Remove commented lines in install.sh Signed-off-by: Daan Hoogland <daan@onecht.net>
This commit is contained in:
parent
b95f47c4d4
commit
e52f3ab932
@ -65,7 +65,7 @@ RETRY_COUNT=3
|
||||
|
||||
sudo apt-get -q -y install uuid-runtime genisoimage python-setuptools python-pip netcat > /dev/null
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "\napt-get packages failed to install"
|
||||
echo -e "\napt-get packages failed to install"
|
||||
fi
|
||||
echo "<settings>
|
||||
<mirrors>
|
||||
|
||||
@ -35,10 +35,7 @@ if [ $MOD -ne 0 ]; then
|
||||
fi
|
||||
|
||||
|
||||
#export CATALINA_BASE=/opt/tomcat
|
||||
#export CATALINA_HOME=/opt/tomcat
|
||||
#export M2_HOME="/usr/local/maven-3.2.1/"
|
||||
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=500m"
|
||||
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=500m -Djava.security.egd=file:/dev/./urandom"
|
||||
echo -e "\nStarting simulator"
|
||||
mvn -Dsimulator -pl :cloud-client-ui jetty:run 2>&1 > /tmp/jetty-log &
|
||||
|
||||
|
||||
@ -34,10 +34,7 @@ if [ $MOD -ne 0 ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
#export CATALINA_BASE=/opt/tomcat
|
||||
#export CATALINA_HOME=/opt/tomcat
|
||||
#export M2_HOME="/usr/local/maven-3.2.1/"
|
||||
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=500m"
|
||||
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=500m -Djava.security.egd=file:/dev/./urandom"
|
||||
|
||||
if [ $TEST_SEQUENCE_NUMBER -eq 1 ]; then
|
||||
mvn -q -Pimpatient -Dsimulator clean install
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user