mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #661: Add instantiate template command
This commit is contained in:
parent
683fc67d5a
commit
b4f57b222e
@ -91,6 +91,12 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
helper.list_pool(options)
|
||||
end
|
||||
|
||||
command :instantiate, 'Instantiates a Template', [:range,:templateid_list] do
|
||||
helper.perform_actions(args[0],options,"instantiated") do |t|
|
||||
t.instantiate
|
||||
end
|
||||
end
|
||||
|
||||
command :publish, 'Publishes a Template', [:range,:imageid_list] do
|
||||
helper.perform_actions(args[0],options,"published") do |t|
|
||||
t.publish
|
||||
|
Loading…
x
Reference in New Issue
Block a user