From 25b77977ff66d3df734641cb47e9f2885b2e9691 Mon Sep 17 00:00:00 2001 From: Holger Sielaff Date: Thu, 4 Sep 2025 08:55:40 +0200 Subject: [PATCH] wrong params in clone machine --- manager/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manager/models.py b/manager/models.py index f656128..2f883f2 100644 --- a/manager/models.py +++ b/manager/models.py @@ -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',