I'm not sure what the intended behavior is in that scenario, but I do know
if you use the Packer tool it allows you to define a vagrantfile that goes
into the box.
On May 29, 2015 8:27 PM, "Michael Legleux" <[email protected]> wrote:

> So once again, I assumed the command:
> vagrant package --base <thevbox> --vagrantfile
> <vagrantfile_in_this_directory> would put that vagrantfile into the
> package.box after it was done.
> I just ran that command, decompressed the box file and lo and behold the
> vagrantfile in the package.box does NOT contain anything that was in the
> vagrantfile included via --vagrantfile <thevagrantfile>, only the
> config.vm_base_mac line.
>
> What gives!?!
>
>
> 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 a topic in the
> Google Groups "Vagrant" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vagrant-up/4pwSmFAude8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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