Yeah I am packaging the box from scratch as I have done several times before with success, but I want vagrant to be able to log in as a different user WITHOUT additional modification in a vagrantfile. I want the box to be already packaged and ready to use a different username/password. This must be possible?
On Thursday, May 28, 2015 at 6:38:32 PM UTC-7, Michael Legleux wrote: > > I'm creating a base box of windows and would like to NOT have user/pass > vagrant/vagrant. > > The wording in the documentation is not very clear on how to accomplish > something like this. > > Furthermore, http://docs.vagrantup.com/v2/virtualbox/boxes.html says that: > > - > > The MAC address of the first network interface (the NAT adapter) > should be noted, since you'll need to put it in a Vagrantfile later as the > value for config.vm.base_mac. To get this value, use the VirtualBox > GUI. > > But then at the bottom of the page it's stated that: > If you're not using vagrant package --base above, you'll have to set the > config.vm.base_mac setting in this Vagrantfile to the MAC address of the > NAT device without colons. > I have always used vagrant package --base alone and seemingly have never > had a problem (with communication at least.) > So what i want is to set config.ssh.username to be NOT vagrant by default. > From what I gather i should vagrant package --base <the_vb_name> > --vagrantfile <somevagrantfile> where vagrantfile has the username/password > configuration in it. ALSO if I do that, I will have to manually set the MAC > address in there? > Thanks, hope that was intelligible! > > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
