I run Vagrant version 2.0.1 with VirtualBox v. 5.2.2 under Windows 10, all is more or less the latest version.
I created machine from image ubuntu/xenial64 (latest version 20171201.0.0).
I updated all the packages and installed there MongoDB version 3.4.0.
I also exposed MongoDB ports in Vagrantfile.
I have no problem to access the DB from the host machine.
Now I want to create a new machine from this one as follows:
vagrant package --output mongodb.box
vagrant box add mongodb mongodb.box
vagrant init mongodb
Then I get repeating message "default: Warning: Authentication failure. Retrying..." until Vagrant says it won't connect. I can't
into the machine, but if I enable mongodb ports in Vagrantfile I can access DB.
This is the article I was following - https://scotch.io/tutorials/how-to-create-a-vagrant-base-box-from-an-existing-one, but still I check some other resources on the net as well as in the book Pro Vagrant from Wlodzimierz Gajda.
Is there another way how to create my own working and manageable machine?
Is it Windows host related problem?
PS I asked the same question on the SO - https://stackoverflow.com/questions/47718475/vagrant-under-windows-10-with-virtualbox-how-to-connect-into-created-machine