Vagrant is attempting to interface with the UI in a way that requires a TTY

后端 未结 8 764
情书的邮戳
情书的邮戳 2020-12-15 19:17

Problem: vagrant up fails with the error below. I am running vagrant on Windows 7 and the base box is Ubuntu )( files.vagrantup.com/precise32.box ).

how can it be fi

8条回答
  •  囚心锁ツ
    2020-12-15 19:29

    This worked for me on cygwin:

    Or add this to ~/.bashrc:

    export VAGRANT_DETECTED_OS=cygwin
    

    Then I got the "Vagrant displays a message that it needs to run some internal upgrades..."

    Edit - Oops! Spoke to soon. During its updates, I got Warning: Authentication failure. Retrying... until timeout :P

    Edit 2 - I was able to fix it by setting config.ssh.private_key_path to the .vagrant.d/insecure_private_key in my Windows user's home directory.

提交回复
热议问题