You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2013/08/30 17:52:44 UTC

git commit: Reorder Java properties for OpenStack examples

Updated Branches:
  refs/heads/master 00c09a04f -> d2886946f


Reorder Java properties for OpenStack examples

Previously these examples failed to run since Java properties were
misplaced as program arguments.  Based on feedback from t4nk303.


Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/commit/d2886946
Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/tree/d2886946
Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/diff/d2886946

Branch: refs/heads/master
Commit: d2886946f2742201a5a86f30fa6face4e55796d0
Parents: 00c09a0
Author: Andrew Gaul <an...@gaul.org>
Authored: Thu Aug 29 18:11:16 2013 -0700
Committer: Andrew Gaul <an...@gaul.org>
Committed: Fri Aug 30 08:52:28 2013 -0700

----------------------------------------------------------------------
 compute-basics/README.md | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/d2886946/compute-basics/README.md
----------------------------------------------------------------------
diff --git a/compute-basics/README.md b/compute-basics/README.md
index 9f31f67..8da8ca5 100755
--- a/compute-basics/README.md
+++ b/compute-basics/README.md
@@ -49,13 +49,14 @@ To destroy all nodes of the group *mygroup*:
 
 ### Your own OpenStack Nova
 
-    java -jar target/compute-basics-jar-with-dependencies.jar openstack-nova \
+    java \
          -Dopenstack-nova.image-id=RegionOne/15 \
          -Dopenstack-nova.login-user=ubuntu \
          -Djclouds.trust-all-certs=true \
          -Djclouds.keystone.credential-type=passwordCredentials \
          -Dopenstack-nova.endpoint=https://keystone:35357 \
-          tenantId:user password mygroup add
+         -jar target/compute-basics-jar-with-dependencies.jar \
+         openstack-nova tenantId:user password mygroup add
 
 ### Virtualbox
 
@@ -64,12 +65,13 @@ To destroy all nodes of the group *mygroup*:
 
 ### Your own OpenStack Nova emulating EC2
 
-    java -jar target/compute-basics-jar-with-dependencies.jar openstack-nova-ec2 \
+    java \
          -Dopenstack-nova-ec2.image-id=nova/ami-00000009 \
          -Dopenstack-nova-ec2.login-user=ubuntu \
          -Djclouds.trust-all-certs=true \
          -Dopenstack-nova-ec2.endpoint=https://novahost/services/Cloud \
-          tenantId:accesskey secretkey mygroup add
+         -jar target/compute-basics-jar-with-dependencies.jar \
+         openstack-nova-ec2 tenantId:accesskey secretkey mygroup add
 
 ## License