Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Hyper-v Name Length fix #404

Merged
merged 1 commit into from
Aug 5, 2019
Merged

Hyper-v Name Length fix #404

merged 1 commit into from
Aug 5, 2019

Conversation

xorima
Copy link
Member

@xorima xorima commented Aug 2, 2019

Description

As part of b018a07 to introduce unique names a uuid was added to the generated vagrantfile. This causes problems with hyper-v which relies on names being 100 characters or less otherwise it throws an exception.

This commit takes the current naming system and substrings it to fit within this character limit. It may be a better idea to use time ticks as these would end up with us substringing less due to their shorter nature (the UUID is a third of the allowed length by itself)

Kitchen-Vagrant Version

1.5.2

Test-Kitchen Version

2.2.5

Vagrant Version

2.2.5

Host Operating System

Windows 10

Issues Resolved:

#403

As part of b018a07 to introduce unique names a uuid was added to the generated vagrantfile. This causes problems with hyper-v which relies on names being 100 characters or less otherwise it throws an exception.

This commit takes the current naming system and substrings it to fit
within this character limit. It may be a better idea to use time ticks
as these would end up with us substringing less due to their shorter
nature (the UUID is a third of the allowed length by itself)

1.5.2

2.2.5

2.2.5

Windows 10

Signed-off-by: Xorima <[email protected]>
@xorima xorima mentioned this pull request Aug 2, 2019
@xorima
Copy link
Member Author

xorima commented Aug 2, 2019

image
as per @robbkidd 's request

@tas50 tas50 merged commit 7045bbe into test-kitchen:master Aug 5, 2019
@tas50
Copy link
Member

tas50 commented Aug 5, 2019

Thanks @xorima

@xorima xorima deleted the hyperv-namelength branch August 5, 2019 15:35
@xorima
Copy link
Member Author

xorima commented Aug 5, 2019

When will this be released? :)

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.

2 participants