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