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:
parent
284a6ed2e4
commit
d85c31e176
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user