-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[Windows 10] - Vagrant seems to truncate host-only network name if it ends with #[num] causing virtualbox not to find it #8004
Comments
The screenshot shows is all good ? |
@kikitux see https://gist.github.com/Jayflux/6ff1aa5b2b48fb97f65f4e85f8d94d66#file-gistfile1-txt-L3441 from the gist i posted The setup (screenshot) is fine, but the CLI is showing vagrant is cutting off the #7 |
Have you tried to escape the '#'? |
@kenfusion yup! had no luck at all! |
If it helps you guys, [kind of related], i've noticed that Virtualbox doesn't clean up old Host-only interfaces. So its impossible for me to go back to |
@kenfusion @kikitux @chrisroberts any idea? |
@chrisroberts thanks for replying! Whats doubly annoying is VirtualBox doesn't allow me to change the host-only adapter name on windows :( Will have a try |
@Jayflux You bet. The VM in the image above was created with Vagrant and properly setup without truncating the name (at least on my machine). Hopefully it will do the same for you, but please do reply back either way. Cheers! |
@chrisroberts in the meantime, could you share with me the Vagrantfile you used, version of Windows and version of Vagrant / VirtualBox ? |
@Jayflux Sure: win10-15063 / vagrant 1.9.4.pre (build off master) / vbox 5.1.18 |
@chrisroberts still not working for me
This is something that used to work, so there's been a regression somewhere, just working out what. Vagrant 1.9.3 |
Closing this up as it turned out to be an issue with the box. Cheers! |
hey @chrisroberts, I know this ticket is closed, but i found out the problem.
I'm guessing whoever made this .box hardcoded it to I changed it to |
I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Please note that the Vagrant issue tracker is reserved for bug reports and
enhancements. For general usage questions, please use the Vagrant mailing list:
https://groups.google.com/forum/#!forum/vagrant-up. Thank you!
Vagrant version
Vagrant 1.8.7
Virtualbox Version
Version 5.1.8 r111374 (Qt5.5.1)
Host operating system
OS Name Microsoft Windows 10 Pro
Version 10.0.14393 Build 14393
Guest operating system
Centos 7
Vagrantfile
Please note, if you are using Homestead or a different Vagrantfile format, we
may be unable to assist with your issue. Try to reproduce the issue using a
vanilla Vagrantfile first.
Debug output
https://gist.github.com/Jayflux/6ff1aa5b2b48fb97f65f4e85f8d94d66
Expected behavior
Vagrant/virtualbox should be using the host-only name i set in the vagrantfile.
Actual behavior
Virtualbox seems to be looking for "VirtualBox Host-Only Ethernet Adapter" instead of "VirtualBox Host-Only Ethernet Adapter #7" unfortunately i cannot rename the adapters on windows.
If i remove the # then it searches for "VirtualBox Host-Only Ethernet Adapter 7" (which still does not exist), it looks like the pound sign is causing some truncation
Screenshot
The text was updated successfully, but these errors were encountered: