1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

Fix bug when instantiate a template. (#2807)

This commit is contained in:
Alejandro Huertas Herrero 2019-01-15 19:34:38 +01:00 committed by Ruben S. Montero
parent 284a6ed2e4
commit d85c31e176

View File

@ -259,6 +259,8 @@ CommandParser::CmdParser.new(ARGV) do
extra_template << "\n#{user_inputs}" extra_template << "\n#{user_inputs}"
extra_template.strip!
persistent = !options[:persistent].nil? persistent = !options[:persistent].nil?
res = t.instantiate(name, on_hold, extra_template, persistent) res = t.instantiate(name, on_hold, extra_template, persistent)