Mryqu's Notes


  • 首页

  • 搜索
close

找不到TTY而导致的Vagrant destroy失败

时间: 2015-05-06   |   分类: Tool   Vagrant     |   阅读: 46 字 ~1分钟

在Windows的Git Bash上想要够过vagrant destroy命令删除一个Vagrant虚拟机,结果碰到了这个错误:

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.

据说Windows上的Cygwin以一种奇怪的方式处理stdin导致Ruby以为没有TTY,没想到Git Bash所基于的MinGW也有这样的问题。 权变措施是使用vagrant destroy --force。


标题:找不到TTY而导致的Vagrant destroy失败
作者:mryqu
声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 CN 许可协议。转载请注明出处!

#vagrant# #tty# #required# #devops#
定制Vagrant box主机
遭遇由VT-x设置导致的vagrant up失败
  • 文章目录
  • 站点概览

Programmer & Architect

662 日志
27 分类
1472 标签
GitHub Twitter FB Page
© 2009 - 2023 Mryqu's Notes
Powered by - Hugo v0.120.4
Theme by - NexT
0%