Skip to content

Commit af9ecf0

Browse files
committed
capv: add additional extra configs
This PR includes two additional extra configs to capv machines: - guestinfo.domain - stealclock.enable These options were set in terraform and need to be enabled for capv-based machines.
1 parent 882a294 commit af9ecf0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/asset/machines/vsphere/capimachines.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ func GenerateMachines(ctx context.Context, clusterID string, config *types.Insta
8888

8989
customVMXKeys := map[string]string{
9090
"guestinfo.hostname": machine.Name,
91+
"guestinfo.domain": strings.TrimSuffix(config.ClusterDomain(), "."),
92+
"stealclock.enable": "TRUE",
9193
}
9294

9395
vsphereMachine := &capv.VSphereMachine{

0 commit comments

Comments
 (0)