Skip to content

fix: limit source vm to 15 char#470

Merged
lbajolet-hashicorp merged 1 commit intomainfrom
fix/limit-source-vm-chars
Oct 4, 2024
Merged

fix: limit source vm to 15 char#470
lbajolet-hashicorp merged 1 commit intomainfrom
fix/limit-source-vm-chars

Conversation

@tenthirtyam
Copy link
Copy Markdown
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 the bug Bug label Sep 30, 2024
@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
Copy Markdown
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
Copy Markdown
Member

@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
Copy Markdown
Contributor

ericvmw commented Sep 30, 2024

LGTM, thanks for the fix!

Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

Merging now

@lbajolet-hashicorp lbajolet-hashicorp merged commit 349e024 into main Oct 4, 2024
@lbajolet-hashicorp lbajolet-hashicorp deleted the fix/limit-source-vm-chars branch October 4, 2024 15:09
@github-actions
Copy link
Copy Markdown

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vsphere-supervisor: use a shorter default source_name

4 participants