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

后端 未结 8 766
情书的邮戳
情书的邮戳 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:39

    If you are on Windows and are starting Vagrant through MinGW (Git Bash for example) and get this message, try running it once through Windows' default cmd.exe. You are then able to answer the question about your network adapters.

    0 讨论(0)
  • 2020-12-15 19:46

    This is caused by Vagrant finding multiple Ethernet interfaces that can be used as public network and Vagrant cannot decide which one to use.

    There are 3 options:

    1. Deactivate one of the 2 adapters, so that Vagrant can use the other

    2. Specify the Ethernet adapter you would like Vagrant to use in the vagrantfile. Like this:

      app.vm.network "public_network", bridge: "Intel(R) PRO/1000 PL Network Connection"
      
    3. Running the vagrant executable manually as already described in Al Belsky's answer

    0 讨论(0)
提交回复
热议问题