wrong params in clone machine
This commit is contained in:
@@ -110,12 +110,12 @@ class CloneContainer(CloneAbstract):
|
||||
vmparams = {
|
||||
'hostname': vmdata['hostname'],
|
||||
'description': vmdata['description'],
|
||||
'cores': vmdata['cores'],
|
||||
'memory': vmdata['memory'],
|
||||
}
|
||||
if vmdata['template']:
|
||||
vmparams |= {
|
||||
'vmid': vmdata['newid'],
|
||||
'cores': vmdata['cores'],
|
||||
'memory': vmdata['memory'],
|
||||
'ostemplate': self.template.volid,
|
||||
'net0': vmdata['net0'],
|
||||
'features': 'nesting=1',
|
||||
|
||||
Reference in New Issue
Block a user