ec2launcher 1.0.18 → 1.0.19
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/version.rb +1 -1
- data/lib/ec2launcher.rb +2 -2
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/ec2launcher/version.rb
CHANGED
data/lib/ec2launcher.rb
CHANGED
|
@@ -842,7 +842,7 @@ module EC2Launcher
|
|
|
842
842
|
|
|
843
843
|
# Add extra requested commands to the launch sequence
|
|
844
844
|
unless @options.commands.nil?
|
|
845
|
-
commands = @
|
|
845
|
+
commands = @options.commands.collect {|cmd| substitute_command_variables(cmd) }
|
|
846
846
|
user_data += "\n" + commands.join("\n")
|
|
847
847
|
end
|
|
848
848
|
@options.commands.each {|extra_cmd| user_data += "\n#{extra_cmd}" }
|
|
@@ -855,4 +855,4 @@ module EC2Launcher
|
|
|
855
855
|
user_data
|
|
856
856
|
end
|
|
857
857
|
end
|
|
858
|
-
end
|
|
858
|
+
end
|