Skip to content

Commit

Permalink
Merge pull request #6261 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…6215-to-release-4.10

[release-4.10] OCPBUGS-537: vSphere - enable steal time accounting
  • Loading branch information
openshift-merge-robot committed May 9, 2023
2 parents 3172e19 + 980fb7a commit b2eee85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/data/vsphere/master/main.tf
Expand Up @@ -45,6 +45,7 @@ resource "vsphere_virtual_machine" "vm_master" {
"guestinfo.ignition.config.data" = base64encode(var.ignition_master)
"guestinfo.ignition.config.data.encoding" = "base64"
"guestinfo.hostname" = "${var.cluster_id}-master-${count.index}"
"stealclock.enable" = "TRUE"
}

tags = var.tags
Expand Down
1 change: 1 addition & 0 deletions upi/vsphere/vm/main.tf
Expand Up @@ -32,6 +32,7 @@ resource "vsphere_virtual_machine" "vm" {
"guestinfo.ignition.config.data" = base64encode(var.ignition)
"guestinfo.ignition.config.data.encoding" = "base64"
"guestinfo.afterburn.initrd.network-kargs" = "ip=${each.value}::${cidrhost(var.machine_cidr, 1)}:${cidrnetmask(var.machine_cidr)}:${element(split(".", each.key), 0)}:ens192:none:${join(":", var.dns_addresses)}"
"stealclock.enable" = "TRUE"
}
}

0 comments on commit b2eee85

Please sign in to comment.