ec2launcher 1.1.0 → 1.1.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/CHANGELOG.md +4 -0
- data/lib/ec2launcher.rb +3 -3
- data/lib/ec2launcher/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/ec2launcher.rb
CHANGED
|
@@ -647,7 +647,7 @@ module EC2Launcher
|
|
|
647
647
|
##############################
|
|
648
648
|
# Build launch command
|
|
649
649
|
user_data = <<EOF
|
|
650
|
-
#!/bin/
|
|
650
|
+
#!/bin/bash
|
|
651
651
|
cat > /tmp/setup.json <<End-Of-Message-JSON
|
|
652
652
|
#{setup_json.to_json}
|
|
653
653
|
End-Of-Message-JSON
|
|
@@ -655,8 +655,8 @@ EOF
|
|
|
655
655
|
if @environment.use_rvm or @application.use_rvm
|
|
656
656
|
user_data += <<-EOF
|
|
657
657
|
export HOME=/root
|
|
658
|
-
if [[ -s "/
|
|
659
|
-
source "/
|
|
658
|
+
if [[ -s "/etc/profile.d/rvm.sh" ]] ; then
|
|
659
|
+
source "/etc/profile.d/rvm.sh"
|
|
660
660
|
fi
|
|
661
661
|
EOF
|
|
662
662
|
end
|
data/lib/ec2launcher/version.rb
CHANGED