Only one configuration file was changed when packaging config.vm.network "Public_network", IP: "192.168.0.111", the other is the default
Re-import because 192.168.0.111 is already occupied, so I now change to 192.168.0.222 other or default configuration
Another point, if I enable # config.vm.network "Forwarded_port", guest:80, host:8080
This network configuration can be successfully started.
Have you encountered such a problem, to seek salvation.
By the VirtualBox, the display has started.
2015.01.13 Supplement
The packaged version of Vagrant is 1.7.1 re-imported version is 1.7.2 but I changed back to 1.7.1 and I failed.
Search foreign questions and answers should be packaged when the network configuration problem, but my English is really slag, do not know how to solve the specific.
Reply content:
Only one configuration file was changed when packaging config.vm.network "Public_network", IP: "192.168.0.111", the other is the default
Re-import because 192.168.0.111 is already occupied, so I now change to 192.168.0.222 other or default configuration
Another point, if I enable # config.vm.network "Forwarded_port", guest:80, host:8080
This network configuration can be successfully started.
Have you encountered such a problem, to seek salvation.
By the VirtualBox, the display has started.
2015.01.13 Supplement
The packaged version of Vagrant is 1.7.1 re-imported version is 1.7.2 but I changed back to 1.7.1 and I failed.
Search foreign questions and answers should be packaged when the network configuration problem, but my English is really slag, do not know how to solve the specific.
The problem has been solved because I did not clear the network configuration when I packaged it.
This error occurs only after the vagrant ssh
connection (I am using Git-bash with win),
After enteringrm /etc/udev/rules.d/70-persistent-net.rules
Reboot, and then vagrant up
you'll be successful.
@Deloz Thank you, Deloz, for the help of the great God.
Online with code to clear the network configuration before packaging
rm -rf /etc/udev/rules.d/70-persistent-net.rulessed -i '/HWADDR/d' /etc/sysconfig/network-scripts/ifcfg-eth0sed -i '/UUID/d' /etc/sysconfig/network-scripts/ifcfg-eth0rm -rf /etc/sysconfig/network-scripts/ifcfg-eth1
But it hasn't been tested yet ....