It is certainly possible. In your loop

itr = [
  "bento/centos-6.7",
  "bento/centos-7.2",
  "bento/ubuntu-18.04",
  "bento/debian-9"
]

Vagrant.configure(2) do |config|

   itr.each_with_index do |os, index|

      if os == ' bento/ubuntu-18.04' then
         #do some OS Specific stuff
      end

   end
end

On Wednesday, September 2, 2020 at 4:29:58 PM UTC-4 jason.wi...@gmail.com 
wrote:

>
> hey everyone.
> I need to have the ability to use synced folders with a multi vm box 
> setup. The caveat is, I need to map the folder to each box differently.
> For example, 
> box 1 maps to .data/web1
> box 2 maps to .data/web2
>
> and so forth. 
> I have different things i need to manipulate in each folder (web dev 
> stuff) then see how it renders in the web server.
>
> Is that possible to do?
> I'll start with that and see how it goes.
>
> Thank you.
>

-- 
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/635ebe7c-53e4-414a-8ed4-e4b79f3c1d45n%40googlegroups.com.

Reply via email to