Skip to content

Commit

Permalink
fix: fix minimum requirements in win2k25 template
Browse files Browse the repository at this point in the history
  • Loading branch information
ksimon1 committed Sep 20, 2024
1 parent c8995f1 commit 207f2e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
8 changes: 4 additions & 4 deletions osinfo-db-override/os/microsoft.com/win-2k25.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<distro>win</distro>
<resources arch="x86_64">
<minimum>
<cpu>1000000000</cpu>
<n-cpus>2</n-cpus>
<ram>4294967296</ram>
<storage>68719476736</storage>
<cpu>1400000000</cpu>
<n-cpus>1</n-cpus>
<ram>536870912</ram>
<storage>34359738368</storage>
</minimum>
</resources>
</os>
Expand Down
8 changes: 1 addition & 7 deletions templates/windows2k25.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ objects:
"rule": "enum",
"message": "cd bus has to be sata",
"values": ["sata"]
}, {
"name": "minimal-required-cores",
"path": "jsonpath::.spec.domain.cpu.cores",
"rule": "integer",
"message": "This VM requires more cores.",
"min": 2
}
]
spec:
Expand Down Expand Up @@ -121,7 +115,7 @@ objects:
hyperv: {}
cpu:
sockets: {{ item.cpus }}
cores: 2
cores: 1
threads: 1
{% if item.iothreads or item.emulatorthread %}
dedicatedCpuPlacement: True
Expand Down

0 comments on commit 207f2e1

Please sign in to comment.