Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #cloud-config
- # Update apt database on first boot
- # (ie run apt-get update)
- #
- # Default: true
- #
- apt_update: true
- # Upgrade the instance on first boot
- # (ie run apt-get upgrade)
- #
- # Default: false
- #
- apt_upgrade: true
- packages:
- - openjdk-6-jre-headless
- runcmd:
- - [mkdir, /home/ubuntu/depsdir]
- - [mkdir, /home/ubuntu/toolboxes]
- - [mkdir, /home/ubuntu/.triana4]
- - [wget, "http://10.0.0.5/Worker-1.0-jar-with-dependencies.jar", -O, /home/ubuntu/Worker-1.0-jar-with-dependencies.jar]
- - [wget, "http://10.0.0.5/TrianaTaskExecutor-1.0-jar-with-dependencies.jar", -O, /home/ubuntu/depsdir/TrianaTaskExecutor-1.0-jar-with-dependencies.jar]
- - [wget, "http://10.0.0.5/org.trianacode.properties", -O, /home/ubuntu/.triana4/org.trianacode.properties]
- - [wget, "http://10.0.0.5/all.tar", -O, /home/ubuntu]
- - [tar, -xf, /home/ubuntu/toolboxes]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement