繁体   English   中英

不能ssh到vagrant + virtualbox(来自vmware)

[英]Can't ssh to vagrant + virtualbox (from vmware)

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

$ uname -r
3.10.0-514.10.2.el7.x86_64

之后我安装了流浪汉

vagrant --version
Vagrant 1.9.3

还有virtualbox version 5.1.18 r114002

但是,当我开始一个流浪汉盒子时,我无法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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM