ssh - 无法 ssh 到 vagrant + virtualbox(来自 vmware)

标签 ssh vagrant virtualbox vmware

我现在的设置是多余的,但仅用于测试目的。
我正在运行 VMware fusion 8.5.5在我的笔记本电脑上。在我的 VMware 中,我安装了 Centos 7:

$ uname -r
3.10.0-514.10.2.el7.x86_64

之后我安装了 vagrant
vagrant --version
Vagrant 1.9.3

还有virtualbox version 5.1.18 r114002
但是当我启动一个 vagrant box 时,我无法 ssh。绝不。盒子的操作系统无关紧要:
$ vagrant init bento/centos-7.2
$ vagrant up

当我尝试检查虚拟框 GUI 时遇到此错误,但我认为这对我来说不是问题。我只是尝试ssh。
==> default: Importing base box 'bento/centos-7.2'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'bento/centos-7.2' is up to date...
==> default: Setting the name of the VM: test_default_1490853341673_52433
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: 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.

VT-x/AMD-V hardware acceleration is not available on your system. 

最佳答案

我有同样的问题,这是您使用的虚拟盒版本中的错误。尝试下载 virtualbox 5.1.4

关于ssh - 无法 ssh 到 vagrant + virtualbox(来自 vmware),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43109752/

相关文章:

ruby - 在本地覆盖 Vagrant 配置设置(每个开发)

ubuntu - 虚拟盒子 : Port Forwarding for SSH from Win10 Host to Ubuntu Guest Stopped Working

linux - 触摸命令。没有权限

vagrant - 使用 Vagrant,有没有办法在多个虚拟机之间共享/同步文件夹?

git - 如何知道远程存储库中的所有项目?

symfony - 绕过 HSTS 错误给出 'file not found'

php - 是否可以使用 NAT 网络让 FTP 在 VirtualBox 中工作,或者让 php 的 ftp 函数工作

python - 无法在 VirtualBox 共享文件夹上安装 Plone,因为 Python 安装失败

Git 说 "Warning: Permanently added to the list of known hosts"

EC2 上的 Tomcat 丢失了 cookie