edx--修改vagrantfile里的public_network重启报错

修改vagrantfile里的public_network以后启动报错: vim

The following SSH command responded with a non-zero exit status. ssh

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,不能读取 this

解决办法:1.vagrant ssh vagrant

                2.vagrant@precise64:~$ sudo vim /etc/network/interfaces ci

                用dd 把两个eth2删除

it

相关文章
相关标签/搜索