Thank you. I have been looking into that.
I also looked into using Packer to build my images. Basically, the flow 
would be, build images with Packer and then pass them off to Vagrant to be 
used as vagrant boxes.

Is there a "best" option for configuration the box/vm? Should I do it in 
Packer? Should I do it with Ansible and vagrant?  
Is there a cleaner approach that allows me to operate as Infrastructure as 
Code (make changes to a VM, to ensure I can use future created vms/boxes 
with the VM's I created?

I understand everything conceptually just trying to connect all the dots 
properly now.
Appreciate the help.!

On Tuesday, July 14, 2020 at 3:04:35 PM UTC-7, . wrote:
>
> This is where Ansible  https://docs.ansible.com/  would come in to help 
> you provision the VirtualMachine in the exact way you want. Infrastructure 
> as Code from start to finish. 
>
> On Tue, Jul 14, 2020 at 4:47 PM Jason Williams <jason.w...@gmail.com 
> <javascript:>> wrote:
>
>> hello everyone.
>> I am starting to use Vagrant and Virtualbox more and more in my 
>> testing/development work. The more I work with the two, the more ideas and 
>> questions I have. I was hoping for some guidance/clarification and maybe 
>> best practices.
>> Let me start with what I am working on and what I have done.
>>
>> I use NGINX quite a bit for web servers, proxying and load balancing. 
>> I have successfully setup a multi-vagrant setup using 2 servers to serve 
>> content. Step in the right direction.
>>
>> Where my question is really at is, once I spin up my Vagrant environment 
>> and start to do my testing, I see there are things that I need to change 
>> with the current boxes that I am using.
>> This could be things like additional software, specific configuration 
>> file settings, copying over content etc.
>>
>> That all being said, is the best practices approach to then package up 
>> one of my current boxes which will contain all my changes? If that is true, 
>> what if I have I have different boxes in a multi-vagrant setup? Do i just 
>> package each one individually?
>> Lastly, how do I call/use these new boxes that I have created? Do i need 
>> to edit the Vagrantfile and change the speciic image being used?
>>
>> This is where my rookiness to Vagrant is coming up short and was hoping 
>> the more experienced users could shed some light.
>>
>> I appreciate the help!
>>
>> Cheers!
>>
>> -- 
>> This mailing list is governed under the HashiCorp Community Guidelines - 
>> https://www.hashicorp.com/community-guidelines.html. Behavior in 
>> violation of those guidelines may result in your removal from this mailing 
>> list.
>>  
>> GitHub Issues: https://github.com/hashicorp/vagrant/issues
>> Discuss: https://discuss.hashicorp.com/c/vagrant/24
>> --- 
>> 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 vagra...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vagrant-up/506a795d-30ce-4e4b-b384-22850e3aac91o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/vagrant-up/506a795d-30ce-4e4b-b384-22850e3aac91o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Dan Morgan
> 617.444.9251
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/vagrant/issues
Discuss: https://discuss.hashicorp.com/c/vagrant/24
--- 
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 vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/59d55185-3d9f-4174-aaa4-5a5ff673ef83o%40googlegroups.com.

Reply via email to