Skip to content

Commit

Permalink
fixed CI reset CPU and RAM setting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslav-gwit committed Mar 4, 2023
1 parent f1341e2 commit 247b893
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/vm_ci_reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 247b893

Please sign in to comment.