Skip to content

Conversation

@akutz
Copy link
Member

@akutz akutz commented Dec 23, 2025

Description

This patch updates the way vC Sim creates a new VM. Previously the VM's default devices were always added, regardless of whether or not the incoming ConfigSpec specified any of the default device info.

This patch instructs vC Sim to consider the incoming ConfigSpec and check if it contains one or more of the default devices, using them from the ConfigSpec if it does.

Closes: NA

How Has This Been Tested?

The GitHub actions. Also, @fabriziopandini will test this with the Cluster API Provider for vSphere to see if it fixes his issue.

Guidelines

Please read and follow the CONTRIBUTION guidelines of this project.

bryanv
bryanv previously approved these changes Dec 23, 2025
tenthirtyam
tenthirtyam previously approved these changes Dec 23, 2025
@tenthirtyam tenthirtyam dismissed their stale review December 23, 2025 22:44

CI is failing.

This patch updates the way vC Sim creates a new VM. Previously the
VM's default devices were always added, regardless of whether or not
the incoming ConfigSpec specified any of the default device info.

This patch instructs vC Sim to consider the incoming ConfigSpec and
check if it contains one or more of the default devices, using them
from the ConfigSpec if it does.

Signed-off-by: akutz <[email protected]>
@fabriziopandini
Copy link
Contributor

Tested locally, it works!

@akutz akutz merged commit c553d26 into vmware:main Jan 9, 2026
11 checks passed
@fabriziopandini
Copy link
Contributor

Thank you @akutz, @bryanv and @tenthirtyam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants