Vagrant is attempting to interface with the UI in a way that requires a TTY
2015-08-07 11:27
387 查看
vagrant up启动失败,提示:
Vagrant is attempting to interface with the UI in a way that requires a TTY
错误信息:
这是因为多网卡Vagrant无法选择使用哪一个,解决办法:
禁用掉另外其他网卡
修改vagrantfile文件,添加桥接网卡
(建议用不含中文的网卡,我用本地网卡“Realtek PCIe GBE 系列控制器”失败,换成无线“Intel(R) Centrino(R) Wireless-N 2230”亲测成功):
vm.network “public_network”, bridge: “Intel(R) PRO/1000 PL Network Connection”#(引号中的网卡换成你电脑上的网卡)
运行VAGRANT_HOME\bin\vagrant.exe,会提示一个信息让你升级
等更新完之后就可以正常启动vagrant up了(据说在OSX中也适用)
参考:http://stackoverflow.com/questions/23633276/vagrant-is-attempting-to-interface-with-the-ui-in-a-way-that-requires-a-tty
Vagrant is attempting to interface with the UI in a way that requires a TTY
错误信息:
[D:\vag]$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Clearing any previously set network interfaces... ==> default: Available bridged network interfaces: 1) Intel(R) Centrino(R) Wireless-N 2230 2) Realtek PCIe GBE 绯诲.?у.? 3) VirtualBox Host-Only Ethernet Adapter ==> default: When choosing an interface, it is usually the one that is ==> default: being used to connect to the internet. Vagrant is attempting to interface with the UI in a way that requires a TTY. Most actions in Vagrant that require a TTY have configuration switches to disable this requirement. Please do that or run Vagrant with TTY
这是因为多网卡Vagrant无法选择使用哪一个,解决办法:
禁用掉另外其他网卡
修改vagrantfile文件,添加桥接网卡
(建议用不含中文的网卡,我用本地网卡“Realtek PCIe GBE 系列控制器”失败,换成无线“Intel(R) Centrino(R) Wireless-N 2230”亲测成功):
vm.network “public_network”, bridge: “Intel(R) PRO/1000 PL Network Connection”#(引号中的网卡换成你电脑上的网卡)
运行VAGRANT_HOME\bin\vagrant.exe,会提示一个信息让你升级
"Press any key to continue"...
等更新完之后就可以正常启动vagrant up了(据说在OSX中也适用)
参考:http://stackoverflow.com/questions/23633276/vagrant-is-attempting-to-interface-with-the-ui-in-a-way-that-requires-a-tty
相关文章推荐
- VirtualBox虚拟机XP与宿主机Ubuntu互访共享文件夹
- Linux下三大免费桌面虚拟机评测
- 用VirtualBox构建MySQL测试环境的笔记
- 利用RemoteBox管理VirtualBox中虚拟机
- Ubuntu 12.04 LTS下安装Virtualbox
- linux主机,win7客户机 在virtulbox下设置共享目录步骤
- virtualbox不能识别u盘等移动设备
- Linux服务器上命令行安装Virtualbox虚拟机
- 虚拟机 硬盘容量不够 增大的方法
- VirtualBox实现内外网络互访问的配置
- virtualbox+ubuntu设置共享文件夹
- fedora14 VirtualBox 安装
- Android-X86和VirtualBox打造高性能Android开发环境
- 各大主流虚拟机
- Virtualbox中收缩虚拟磁盘映像文件大小
- VirtualBox虚拟机:[20]扩展增强包特殊安装法
- VirtualBox使用技巧
- VirtualBox的四种网络连接方式
- Virtualbox虚拟机安装CentOS6.5图文详细教程
- Ubuntu12.04安装和管理VirtualBox