Vagrant зависает после обновления MacOS - PullRequest
0 голосов
/ 28 ноября 2018

После обновления до macOS Mojave мой локальный бродяга перестал работать с ошибкой тайм-аута после SSH auth method: private key as below:

mch1: SSH address: 127.0.0.1:2222
    mch1: SSH username: vagrant
    mch1: SSH auth method: private key
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
  • Версия бродяги: 2.2.2
  • VirtualBoxVersion 5.2.22 r126460(Qt5.6.3)

1 Ответ

0 голосов
/ 17 декабря 2018

Скорее всего, это проблема новых функций безопасности в Mojave .

Пожалуйста, предоставьте консольному приложению (откуда вы запустили vagrant, например, iTerm2 ) полные права на запись на диск

  • Системные настройки
  • Безопасность и конфиденциальность
  • Конфиденциальность
  • Полный доступ к диску

, затем перезапустите консоль и попробуйте снова.

...