cozy / cozy-dev

Archived - Please use https://github.com/CPatchane/create-cozy-app
http://cozy.io
Other
17 stars 12 forks source link

error when "vagrant up" #67

Closed cylwin closed 9 years ago

cylwin commented 9 years ago

vagrant up end with :

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:51: interface eth2 declared allow-auto twice
/sbin/ifup: couldn't read interfaces file "/etc/network/interfaces"

When I run cozy-dev vm:start, I have no error message, but I think that the process stop at this moment also because the shared folder is not set.

In order to fix this I modified my VagrantFile commenting : #config.vm.network :private_network, ip: "192.168.50.4" and it works :-)

poupotte commented 9 years ago

Thanks @cylwin . This issue seems come from a vagrant issue : https://github.com/mitchellh/vagrant/issues/5279.

cylwin commented 9 years ago

Yes, I saw this vagrant issue, and I fixed the problem thanks to it. But is this line very important for the dev env : config.vm.network :private_network, ip: "192.168.50.4" ?

Vagrant (v1.7.2) is the version required in http://cozy.io/en/hack/getting-started/setup-environment.html

jsilvestre commented 9 years ago

It's not important at all unless your are doing specific stuff. I'm going to fix the doc.

edit: fixed.