我正在安装buildroot。但是,当我从buildroot文档中剔除手册时,发生了错误。
这是我的过程。
curl -O https://buildroot.org/downloads/Vagrantfile; vagrant up
结果如实。
==> default: Attempting graceful shutdown of VM...
default: Guest communication could not be established! This is usually because
default: SSH is not running, the authentication information was changed,
default: or some other networking issue. Vagrant will force halt, if
default: capable.
==> default: Forcing shutdown of VM...
==> default: Checking if box 'ubuntu/bionic64' is up to date...
==> default: Clearing any previously set forwarded ports...
==> 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: Running 'pre-boot' VM customizations...
==> 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
然后我尝试与ssh连接
vagrant ssh
但是有需要展示的地方。就是这样。
lt@ubuntu:~/qemu/buildroot$ vagrant ssh
所以我尝试ssh命令。
lt@ubuntu:~/qemu/buildroot$ vagrant ssh-config
Host default
HostName 127.0.0.1
User vagrant
Port 2222
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile /home/lt/.vagrant.d/insecure_private_key
IdentitiesOnly yes
LogLevel FATAL
ssh vagrant@127.0.0.1 -p 2222 i /home/lt/.vagrant.d/insecure_private_key
但是,也向北显示。
你能给我一个陶醉吗?谢谢。
答案 0 :(得分:0)
尝试执行以下命令:
{% if meaning['synonyms'] is defined and meaning['synonyms']|length > 0 %}
do something-- if condition matches
vagrant halt
vagrant up
这应该可以解决问题。如果仍然存在,请检查您的BIOS设置以确保启用了虚拟化。如果您使用的是Windows,请确保已禁用hyper-v。
答案 1 :(得分:0)
它是一个重复的问题,已经回答了多次
引用我的答案。