javifelices icon

Prueba Multi

javifelices | PRO | 10/07/18 01:13:14 PM UTC | 0 ⭐ | 7011 👁️ | Never ⏰ | []
Ruby |

590 B

|

None

|

0 👍

/

0 👎

Vagrant.configure("2") do |config|
  config.vm.define "web" do |nodo1|
    nodo1.vm.box = "ubuntu/trusty64"
    nodo1.vm.hostname = "web"
    #nodo1.vm.network "public_network", bridge: "wlan0"
    #nodo1.vm.network "private_network", ip: "10.0.100.101"
    nodo1.vm.network "forwarded_port", guest: 80, host: 8080,
      auto_correct: true
  end
  config.vm.define "db" do |nodo2|
    nodo2.vm.box = "ubuntu/trusty64"
    nodo2.vm.hostname = "db"
    #nodo2.vm.network "private_network", ip: "10.0.100.102"
    nodo2.vm.network "forwarded_port", guest: 80, host: 8080,
      auto_correct: true
  end
end

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎