mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
Feature #3748: Fix for Save As Template in Cloud View
This commit is contained in:
1 parent
1cce8da08b
commit
77c286caa3
1 file changed
+3
-1
@@ -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
|
||||
Reference in new issue
Block a user