mirror of https://github.com/apache/jclouds.git
updated tests to use jboss 7.0.2
This commit is contained in:
parent
d5a6950864
commit
5b12880405
|
@ -73,7 +73,7 @@ public class RunScriptData {
|
||||||
installJavaAndCurl(os),//
|
installJavaAndCurl(os),//
|
||||||
authorizePortsInIpTables(22, 8080),//
|
authorizePortsInIpTables(22, 8080),//
|
||||||
extractTargzIntoDirectory(URI.create(System.getProperty("test.jboss-url",//
|
extractTargzIntoDirectory(URI.create(System.getProperty("test.jboss-url",//
|
||||||
"http://download.jboss.org/jbossas/7.0/jboss-as-7.0.0.Final/jboss-as-web-7.0.0.Final.tar.gz")), "/usr/local"),//
|
"http://download.jboss.org/jbossas/7.0/jboss-as-7.0.2.Final/jboss-as-web-7.0.2.Final.tar.gz")), "/usr/local"),//
|
||||||
exec("{md} " + jbossHome), exec("mv /usr/local/jboss-*/* " + jbossHome),//
|
exec("{md} " + jbossHome), exec("mv /usr/local/jboss-*/* " + jbossHome),//
|
||||||
changeStandaloneConfigToListenOnAllIPAddresses(),
|
changeStandaloneConfigToListenOnAllIPAddresses(),
|
||||||
exec("chmod -R oug+r+w " + jbossHome),
|
exec("chmod -R oug+r+w " + jbossHome),
|
||||||
|
|
|
@ -106,7 +106,7 @@ echo "export PATH=\"\$JAVA_HOME/bin/:\$PATH\"" >> $HOME/.bashrc
|
||||||
iptables -I INPUT 1 -p tcp --dport 22 -j ACCEPT
|
iptables -I INPUT 1 -p tcp --dport 22 -j ACCEPT
|
||||||
iptables -I INPUT 1 -p tcp --dport 8080 -j ACCEPT
|
iptables -I INPUT 1 -p tcp --dport 8080 -j ACCEPT
|
||||||
iptables-save
|
iptables-save
|
||||||
curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://download.jboss.org/jbossas/7.0/jboss-as-7.0.0.Final/jboss-as-web-7.0.0.Final.tar.gz |(mkdir -p /usr/local &&cd /usr/local &&tar -xpzf -)
|
curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://download.jboss.org/jbossas/7.0/jboss-as-7.0.2.Final/jboss-as-web-7.0.2.Final.tar.gz |(mkdir -p /usr/local &&cd /usr/local &&tar -xpzf -)
|
||||||
mkdir -p /usr/local/jboss
|
mkdir -p /usr/local/jboss
|
||||||
mv /usr/local/jboss-*/* /usr/local/jboss
|
mv /usr/local/jboss-*/* /usr/local/jboss
|
||||||
(cd /usr/local/jboss/standalone/configuration && sed 's~inet-address value=.*/~any-address/~g' standalone.xml > standalone.xml.new && mv standalone.xml.new standalone.xml)
|
(cd /usr/local/jboss/standalone/configuration && sed 's~inet-address value=.*/~any-address/~g' standalone.xml > standalone.xml.new && mv standalone.xml.new standalone.xml)
|
||||||
|
|
Loading…
Reference in New Issue