Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: limit source vm to 15 char #470

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

tenthirtyam
Copy link
Collaborator

Summary

  • Updates DefaultSourceNamePrefix to "source".
  • Limits the name of the source virtual machine to 15 characters to support Windows. This was causing issues for deploying Windows VMs as they require a shorter hostname.

Reference

Closes #455

@tenthirtyam tenthirtyam added this to the v1.4.1 milestone Sep 30, 2024
@tenthirtyam tenthirtyam self-assigned this Sep 30, 2024
@tenthirtyam tenthirtyam requested a review from a team as a code owner September 30, 2024 14:58
@tenthirtyam
Copy link
Collaborator Author

cc @dilyar85 for review.

@tenthirtyam tenthirtyam force-pushed the fix/limit-source-vm-chars branch from 910387b to 7141f9b Compare September 30, 2024 15:01
- Updates `DefaultSourceNamePrefix` to "source".
- Limits the name of the source virtual machine to 15 characters to support Windows. This was causing issues for deploying Windows VMs as they require a shorter hostname.

#455

Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
@tenthirtyam tenthirtyam force-pushed the fix/limit-source-vm-chars branch from 7141f9b to c7dde39 Compare September 30, 2024 15:09
Copy link
Contributor

@dilyar85 dilyar85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @tenthirtyam!

@ericvmw
Copy link
Contributor

ericvmw commented Sep 30, 2024

LGTM, thanks for the fix!

Copy link
Contributor

@lbajolet-hashicorp lbajolet-hashicorp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @tenthirtyam!

Out of curiosity, was this limit always active but undocumented, or is it something new to vsphere?

@lbajolet-hashicorp
Copy link
Contributor

Note: nevermind, the commit message explains the rationale :)

Merging now

@lbajolet-hashicorp lbajolet-hashicorp merged commit 349e024 into main Oct 4, 2024
14 checks passed
@lbajolet-hashicorp lbajolet-hashicorp deleted the fix/limit-source-vm-chars branch October 4, 2024 15:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vsphere-supervisor: use a shorter default source_name
4 participants