修改vagrantfile里的public_network之后启动报错:
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!/sbin/ifup eth1
Stdout from the command:
Stderr from the command:
stdin: is not a tty
/etc/network/interfaces:29: interface eth2 declared allow-auto twice
/sbin/ifup: couldn't read interfaces file "/etc/network/interfaces"
在/etc/network/interfaces中配置了两个eth2,不能读取
解决办法:1.vagrant ssh
2.vagrant@precise64:~$ sudo vim /etc/network/interfaces
用dd 把两个eth2删除