mirror of https://github.com/apache/cloudstack.git
Change newly added details map for deployVirtualMachine to an empty
map, instead of passing all possible keys as empty values
This commit is contained in:
parent
d638d04cbf
commit
345fc3c8ec
|
|
@ -413,7 +413,7 @@ class VirtualMachine:
|
|||
if "userdata" in services:
|
||||
cmd.userdata = base64.urlsafe_b64encode(services["userdata"])
|
||||
|
||||
cmd.details = [{"cpuNumber": "","cpuSpeed":"","memory":"","rootdisksize":""}]
|
||||
cmd.details = [{}]
|
||||
|
||||
if customcpunumber:
|
||||
cmd.details[0]["cpuNumber"] = customcpunumber
|
||||
|
|
|
|||
Loading…
Reference in New Issue