wrong params in clone machine

This commit is contained in:
Holger Sielaff
2025-09-04 08:55:40 +02:00
parent 4984ee138f
commit 25b77977ff

View File

@@ -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',