Are you building your own box or trying to reuse and change the name in an 
existing box? If you are packaging a box, you need to create the user 
within Windows yourself with whatever password you desire, then package 
that VM into a box. Its easiest to do this using Packer, as it has plugins 
for managing Windows, but your best bet is to find someone who has done it 
already and change the username/password etc to suit.

On Thursday, May 28, 2015 at 8:38:32 PM UTC-5, 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.

Reply via email to