Hi Alvaro, It works with public_network but I don't have access to internet as I see two active interfaces eth0 and eth1. Can we make it working with only one interface ? How to do that?
Cheers Jim P.S: Not at all happy with "Vagrant" product. No offence.............. On Tuesday, July 19, 2016 at 4:38:17 AM UTC+10, Alvaro Miranda Aguilera wrote: > > Hello, > > the message is telling you that ip network can be used for private network > because there is a network that already exists. > > you can use a different network, or try wirth public if what you want is > the vm to connect to 192.168.1.x > > Alvaro > > On Tue, Jul 19, 2016 at 12:11 AM, <[email protected] <javascript:>> > wrote: > >> Hello Folks, >> >> I ran into the following error when I execute "vagrant up" command. >> >> The specified host network collides with a non-hostonly network! >> This will cause your specified IP to be inaccessible. Please change >> the IP or name of your host only network so that it no longer matches >> that of >> a bridged or non-hostonly network. >> >> Vagrant file: >> Vagrant.configure("2") do |o| >> o.vm.box="centos/7" >> o.vm.network "private_network", ip: "192.168.1.13" >> o.vm.provision "shell", :path=>"setup.sh" >> end >> >> setup.sh: >> sudo yum -y update >> sudo yum -y install vim,git,gedit,nmap >> sudo systemctl restart httpd >> >> Nothing is started but I see a machine in Virtual box and I double click >> and I start as usual. Could assign static IP but no network to outside >> world. Not sure where the things are going wrong. >> >> Any help would be very much appreciated. >> >> Thanks >> Jim >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/vagrant-up/4bf32117-cc9d-4386-89db-6ab202d73ce8%40googlegroups.com >> >> <https://groups.google.com/d/msgid/vagrant-up/4bf32117-cc9d-4386-89db-6ab202d73ce8%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/85aae2b1-e1af-48e7-b11f-f124a1a2bbf1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
