On Thu, Aug 11, 2016 at 12:09 AM, <[email protected]> wrote:
> Vagrant.configure(2) do |config|
> boxes.each do |opts|
> config.vm.define opts[:name] do |config|
>
> config.vm.network :forwarded_port, guest: 22, host: opts[:ssh_port],
> id: 'ssh'
> config.vm.network :forwarded_port, guest: 443, host:
> opts[:https_port]
>
> config.vm.provider "vmware_workstation" do |v|
> <snip>
>
Hello,
Whats the output of
vagrant ssh-config <box> after you start the 2nd one?
I think should be like this:
Vagrant.configure(2) do |config|
boxes.each do |opts|
config.vm.define opts[:name] do |opts[:name]|
opts[:name].vm.network :forwarded_port, guest: 22, host:
opts[:ssh_port], id: 'ssh'
opts[:name].vm.network :forwarded_port, guest: 443, host:
opts[:https_port]
opts[:name].vm.provider "vmware_workstation" do |v|
<snip>
If you want the provider vmware... to be global, take it out of the define
block and use it as config.vm.provider.
Can you test?
Alvaro.
--
Alvaro
(+31)103400555
--
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/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/CAHqq0eydxGFMfne3PumjP2Wng8n4yN84ece_Ehx%3Dniv4NxFSvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.