the file looks good after the VM is up, can you ping the ip?
i expect to be up and running. >From there you need to configure the application to use that ip, either hardcoding the ip/virtualhost, or use something like tell the web server to listen for any ip ( 0.0.0.0 ) Alvaro On Tue, Oct 31, 2017 at 11:44 AM, <[email protected]> wrote: > Vagrant.configure(2) do |config| > > config.vm.define "joomla" do |joomla| > # Base temmplate for virtualbox, we use debian 8.9.0 here > #joomla.vm.box = "debian/jessie64" > joomla.vm.box = "ubuntu/trusty64" > # Domain on which our application will respond later on > joomla.vm.hostname = "joomla.dev" > # IP address will be used by the VM > joomla.vm.network :private_network, ip: "192.168.5.2" > #joomla.vm.network :private_network, ip: "192.168.5.3" > > # Tell vagrant to run ansible as a provisioner > joomla.vm.provision :ansible do |ansible| > # where the playbook is located > ansible.playbook = "provisioning/playbook.yml" > # show the ansible-playbook command used by vagrant > ansible.verbose = true > end > end > > # Access the shared vagrant directory via NFS, otherwise slow on mac > and windows > config.vm.synced_folder ".", "/vagrant", type: "nfs" > > config.vm.provider "virtualbox" do |v| > # tell virtualbox to give our machine 1Gb RAM and 1 Cores > v.memory = 1024 > v.cpus =1 > end > end > > > > понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь > [email protected] написал: >> >> How setting two or more "ip" for one interface in Vagrantfile? >> > -- > 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/eaf19ee1-3ca4-47a4-81aa-569e0fb5e3fa%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/eaf19ee1-3ca4-47a4-81aa-569e0fb5e3fa%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- 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/CAHqq0exv5iBPf1eGA9T%3DxryZ-JBew9S3C4T6vUdAC3g3ydmgZA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
