Skip to content

Instantly share code, notes, and snippets.

@abutcher
Created July 14, 2020 19:57
Show Gist options
  • Save abutcher/4516ea615b52951626f28d51e800baaa to your computer and use it in GitHub Desktop.
Save abutcher/4516ea615b52951626f28d51e800baaa to your computer and use it in GitHub Desktop.
diff --git pkg/clusterresource/ovirt.go pkg/clusterresource/ovirt.go
index f73ea05c..e4604d09 100644
--- pkg/clusterresource/ovirt.go
+++ pkg/clusterresource/ovirt.go
@@ -90,7 +90,17 @@ func (p *OvirtCloudBuilder) addClusterDeploymentPlatform(o *Builder, cd *hivev1.
}
func (p *OvirtCloudBuilder) addMachinePoolPlatform(o *Builder, mp *hivev1.MachinePool) {
- mp.Spec.Platform.Ovirt = &hivev1ovirt.MachinePool{}
+ mp.Spec.Platform.Ovirt = &hivev1ovirt.MachinePool{
+ CPU: &hivev1ovirt.CPU{
+ Sockets: 1,
+ Cores: 4,
+ },
+ MemoryMB: 16348,
+ OSDisk: &hivev1ovirt.Disk{
+ SizeGB: 120,
+ },
+ VMType: "server",
+ }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment