Здравствуйте! Запускаю комманду vagrant up и в конце выдает вот это: The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong. Хост прописан правильно, сравнил с хостом в файле config.yaml. В виртуалбоксе машина запущена. Стояла версия виртуал бокса 6.0 и вагранг 2.2.5. Переустановил на виртуал бокс 5.2.6 и вагрант 2.0.1 - все равно в браузере сайт не открывается. При каждом удалении и установке комп перезагружался. С помощью putty, к виртуальной машине подключаюсь. Здесь вроде как проблем нет. Проблема лишь в одном не запускается в браузере сайт хотя хост прописан правильно. Пожалуйста помогите если кто встречался с этим!!! В поиске уже искал. В пути Path тоже уже прописал и путь к bin файлу vagrant и путь к папке virtualbox Кстати вот что я нашел как решение но не могу до конца понять где что нужно менять потому что в папке /etc/sudoers.d есть два файла 99_vagrant и README и в них зайти посмотреть я не могу(permission denied): I've done this to myself any number of times by messing up the /etc/sudoers or /etc/sudoers.d. I did it today, which is why I landed here. Somewhere in /etc/sudoers (or /etc/sudoers.d if it's included) you have to have vagrant ALL=(ALL) NOPASSWD:ALL Defaults:vagrant !requiretty without that, the vagrant ssh (without tty) fails mysteriously. I once again had built a machine without my puppet vagrant module, which adds this in.
The output for this command should be in the log above. Please read the output to determine what went wrong. Вот ошибки с журнала если кто разбирается в этом ==> m4: Warning: Unknown variable: '::domain'. (file: /tmp/vagrant-puppet/modules-ceb20862827d96ae5219643ce25c6e3e/resolv_conf/manifests/init.pp, line: 28, column: 24) ==> m4: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://docs.puppet.com/puppet/5.3/reference/deprecated_language.html\n (file & line not available) ==> m4: Error: 'curl -fsSL https://get.rvm.io | bash -s -- --version latest' returned 2 instead of one of [0] ==> m4: Error: /Stage[main]/Rvm::System/Exec[system-rvm]/returns: change from 'notrun' to ['0'] failed: 'curl -fsSL https://get.rvm.io | bash -s -- --version latest' returned 2 instead of one of [0] ==> m4: Warning: /Stage[main]/Puphpet::Ruby/Exec[rvm rvmrc warning ignore all.rvmrcs]: Skipping because of failed dependencies ==> m4: Error: Could not find a suitable provider for rvm_system_ruby ==> m4: Error: Could not find a suitable provider for rvm_gem
Переустановливал винду на home и pro версии, но все равно дает ошибку. Хотя сайт запустить удалось после кучи экспериментов с puphpet. Оказалось что при настройке модуля apache в поле Server Name нужно указывать после названия проэкта *.test. Я пробовал указать project.local и project, но так в браузере страница не открывается, только если project.test.