Advertisement
keyz182

Untitled

Mar 7th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.84 KB | None | 0 0
  1. #cloud-config
  2. # Update apt database on first boot
  3. # (ie run apt-get update)
  4. #
  5. # Default: true
  6. #
  7. apt_update: true
  8.  
  9. # Upgrade the instance on first boot
  10. # (ie run apt-get upgrade)
  11. #
  12. # Default: false
  13. #
  14. apt_upgrade: true
  15.  
  16. packages:
  17. - openjdk-6-jre-headless
  18.  
  19. runcmd:
  20. - [mkdir, /home/ubuntu/depsdir]
  21. - [mkdir, /home/ubuntu/toolboxes]
  22. - [mkdir, /home/ubuntu/.triana4]
  23. - [wget, "http://10.0.0.5/Worker-1.0-jar-with-dependencies.jar", -O, /home/ubuntu/Worker-1.0-jar-with-dependencies.jar]
  24. - [wget, "http://10.0.0.5/TrianaTaskExecutor-1.0-jar-with-dependencies.jar", -O, /home/ubuntu/depsdir/TrianaTaskExecutor-1.0-jar-with-dependencies.jar]
  25. - [wget, "http://10.0.0.5/org.trianacode.properties", -O, /home/ubuntu/.triana4/org.trianacode.properties]
  26. - [wget, "http://10.0.0.5/all.tar", -O, /home/ubuntu]
  27. - [tar, -xf, /home/ubuntu/toolboxes]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement