test-kitchen / kitchen-vagrant

A Test Kitchen Driver for Vagrant
Other
348 stars 189 forks source link

Hyper-v Name Length fix #404

Closed xorima closed 4 years ago

xorima commented 4 years ago

Description

As part of https://github.com/test-kitchen/kitchen-vagrant/commit/b018a077b93cc343f29c43e9eec2366f38eefe61 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

xorima commented 4 years ago

image as per @robbkidd 's request

tas50 commented 4 years ago

Thanks @Xorima

xorima commented 4 years ago

When will this be released? :)