[英]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.