From 247b89373e1c97c18788c70e25fd82f00be908bd Mon Sep 17 00:00:00 2001 From: Yaroslav Koisa Date: Sat, 4 Mar 2023 14:53:39 +0000 Subject: [PATCH] fixed CI reset CPU and RAM setting issue --- cmd/vm_ci_reset.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/vm_ci_reset.go b/cmd/vm_ci_reset.go index cc61afc3..5b171385 100644 --- a/cmd/vm_ci_reset.go +++ b/cmd/vm_ci_reset.go @@ -84,6 +84,8 @@ func ciReset(oldVmName string, newVmName string) error { c.NakedSubnet = strings.Split(networkInfo[0].Subnet, "/")[1] c.Gateway = networkInfo[0].Gateway + c.Cpus = vmConfigVar.CPUCores + c.Ram = vmConfigVar.Memory c.LiveStatus = vmConfigVar.LiveStatus c.OsType = vmConfigVar.OsType c.OsComment = vmConfigVar.OsComment