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:
Rafael da Fonseca 2015-06-19 12:38:27 +02:00 committed by Daan Hoogland
parent b95f47c4d4
commit e52f3ab932
3 changed files with 3 additions and 9 deletions

View File

@ -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>

View File

@ -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 &

View File

@ -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