switched to reference jclouds beta 7

This commit is contained in:
Adrian Cole 2010-10-02 16:26:50 +01:00
parent 775ae186e6
commit 31bf16659f
3 changed files with 9 additions and 9 deletions

View File

@ -22,7 +22,7 @@
<project xmlns:artifact="urn:maven-artifact-ant" name="cargooverssh" default="cargooverssh" basedir="."> <project xmlns:artifact="urn:maven-artifact-ant" name="cargooverssh" default="cargooverssh" basedir=".">
<property file="build.properties" /> <property file="build.properties" />
<property name="jclouds.version" value="1.0-SNAPSHOT" /> <property name="jclouds.version" value="1.0-beta-7" />
<property name="privatekeyfile" value="${user.home}/.ssh/id_rsa" /> <property name="privatekeyfile" value="${user.home}/.ssh/id_rsa" />
<property name="publickeyfile" value="${user.home}/.ssh/id_rsa.pub" /> <property name="publickeyfile" value="${user.home}/.ssh/id_rsa.pub" />
<property name="listenport" value="8080" /> <property name="listenport" value="8080" />
@ -85,7 +85,7 @@
<target name="create" description="create the nodes ${tag}" > <target name="create" description="create the nodes ${tag}" >
<compute actions="destroy,create" provider="${url}"> <compute actions="destroy,create" provider="${url}">
<nodes tag="${tag}" os="UBUNTU" size="SMALLEST" <nodes tag="${tag}" os="UBUNTU" hardware="SMALLEST"
runscript="runscript.sh" openports="22,${listenport}" runscript="runscript.sh" openports="22,${listenport}"
privatekeyfile="${privatekeyfile}" publickeyfile="${publickeyfile}" privatekeyfile="${privatekeyfile}" publickeyfile="${publickeyfile}"
hostproperty="host" usernameproperty="username" /> hostproperty="host" usernameproperty="username" />

View File

@ -22,8 +22,8 @@ apt-get update -qq
apt-get upgrade -y -qq apt-get upgrade -y -qq
apt-get install -y -qq wget apt-get install -y -qq wget
apt-get install -y -qq openjdk-6-jdk apt-get install -y -qq openjdk-6-jdk
wget -q http://mirrors.axint.net/apache/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24.tar.gz wget -q http://mirrors.axint.net/apache/tomcat/tomcat-6/v6.0.29/bin/apache-tomcat-6.0.29.tar.gz
tar xzf apache-tomcat-6.0.24.tar.gz tar xzf apache-tomcat-6.0.29.tar.gz
mkdir -p /tmp/cargo/containers mkdir -p /tmp/cargo/containers
chmod 1777 /tmp/cargo chmod 1777 /tmp/cargo
mv apache-tomcat-6.0.24 /tmp/cargo/containers/tomcat6x mv apache-tomcat-6.0.29 /tmp/cargo/containers/tomcat6x

View File

@ -21,7 +21,7 @@
<project name="compute" default="dump" basedir="." xmlns:artifact="urn:maven-artifact-ant"> <project name="compute" default="dump" basedir="." xmlns:artifact="urn:maven-artifact-ant">
<property file="build.properties" /> <property file="build.properties" />
<property name="jclouds.version" value="1.0-SNAPSHOT" /> <property name="jclouds.version" value="1.0-beta-7" />
<property name="privatekeyfile" value="${user.home}/.ssh/id_rsa" /> <property name="privatekeyfile" value="${user.home}/.ssh/id_rsa" />
<property name="publickeyfile" value="${user.home}/.ssh/id_rsa.pub" /> <property name="publickeyfile" value="${user.home}/.ssh/id_rsa.pub" />
@ -82,8 +82,8 @@
<compute actions="list-images" provider="${jclouds.compute.url}" /> <compute actions="list-images" provider="${jclouds.compute.url}" />
</target> </target>
<target name="list-hardwares" description="list the hardwares supported"> <target name="list-hardware" description="list the hardware supported">
<compute actions="list-hardwares" provider="${jclouds.compute.url}" /> <compute actions="list-sizes" provider="${jclouds.compute.url}" />
</target> </target>
<target name="list-locations" description="list the locations supported"> <target name="list-locations" description="list the locations supported">
@ -91,7 +91,7 @@
</target> </target>
<target name="dump" description="list all information we can obtain about the cloud"> <target name="dump" description="list all information we can obtain about the cloud">
<compute actions="list-locations,list-hardwares,list-images,list-details" provider="${jclouds.compute.url}" /> <compute actions="list-locations,list-sizes,list-images,list-details" provider="${jclouds.compute.url}" />
</target> </target>
<target name="reboot" depends="reboot-id,reboot-tag" /> <target name="reboot" depends="reboot-id,reboot-tag" />