1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Feature #3748: Fix for Save As Template in Cloud View

This commit is contained in:
Tino Vazquez 2015-07-03 12:43:58 +02:00
parent 1cce8da08b
commit 77c286caa3

View File

@ -182,7 +182,9 @@ module OpenNebulaJSON
end
def save_as_template(params=Hash.new)
super(params['name'])
vm_new = VirtualMachine.new(VirtualMachine.build_xml(@pe_id),
@client)
vm_new.save_as_template(params['name'])
end
end
end