ec2launcher 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/ec2launcher/version.rb +1 -1
- data/lib/ec2launcher.rb +1 -1
- data/startup-scripts/setup.rb +1 -1
- metadata +1 -1
data/lib/ec2launcher/version.rb
CHANGED
data/lib/ec2launcher.rb
CHANGED
@@ -306,7 +306,7 @@ export HOME=/root
|
|
306
306
|
echo '#{setup_json.to_json}' > /tmp/setup.json
|
307
307
|
curl http://bazaar.launchpad.net/~alestic/runurl/trunk/download/head:/runurl-20090817053347-o2e56z7xwq8m9tt6-1/runurl -o /tmp/runurl
|
308
308
|
chmod +x /tmp/runurl
|
309
|
-
/tmp/runurl https://
|
309
|
+
/tmp/runurl https://raw.github.com/StudyBlue/ec2launcher/master/startup-scripts/setup.rb -e #{options.environ} -a #{options.application} -h #{hostname} /tmp/setup.json > /var/log/cloud-startup.log
|
310
310
|
rm -f /tmp/runurl"
|
311
311
|
user_data += " -c #{options.clone_host}" unless options.clone_host.nil?
|
312
312
|
|
data/startup-scripts/setup.rb
CHANGED
@@ -8,7 +8,7 @@ require 'ostruct'
|
|
8
8
|
require 'json'
|
9
9
|
|
10
10
|
SETUP_SCRIPT = "setup_instance.rb"
|
11
|
-
SETUP_SCRIPT_URL = "https://
|
11
|
+
SETUP_SCRIPT_URL = "https://raw.github.com/StudyBlue/ec2launcher/master/startup-scripts//#{SETUP_SCRIPT}"
|
12
12
|
|
13
13
|
class InitOptions
|
14
14
|
def initialize
|