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

Default hostname using FQDN make vagrant fail with windows guest #117

Merged
merged 1 commit into from
Nov 10, 2014

Conversation

Annih
Copy link
Contributor

@Annih Annih commented Sep 26, 2014

Since vagrant 1.6.4 vagrant fails to setup windows guest with FQDN as hostname because it exceed the 15 characters limit.
Even some Linux systems do not recommend to use FQDN as hostname.

If needed, I can add a test on the "guest" property to use FQDN on all guest which are not windows.

Since vagrant 1.6.4 vagrant fails to setup windows guest with FQDN as hostname.
sethvargo added a commit that referenced this pull request Nov 10, 2014
Default hostname using FQDN make vagrant fail with windows guest
@sethvargo sethvargo merged commit 1944ead into test-kitchen:master Nov 10, 2014
@sethvargo
Copy link
Contributor

Thanks!

@fnichol
Copy link
Contributor

fnichol commented Mar 23, 2015

@Annih As I'm reviewing changes for a release of this Driver, I thought I'd drop a note to say that I'm handling :vm_hostname slightly different in the windows-guest-support branch (soon to be released). If the instance is going to be a Windows host, we're disabling setting any :vm_hostname which reduces this error and drastically speeds up boot time. And, if you really want to set a value for :vm_hostname, the code truncates your string to be inside of 12 characters (you know, with 3 characters wiggle room, heh).

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.

3 participants