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:
parent
1cce8da08b
commit
77c286caa3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user