问题描述
我正在关注 CoreOS 配置的官方文档一步一步使用 Vagrant,当我执行命令 vagrant up
时,它在阶段出现了一些问题:配置和启用网络接口....
I'm following official documentation of CoreOS configuration with Vagrant step by step, and when I execute command vagrant up
It's present some problem on phase: Configuring and enabling network interfaces....
输出:
devops@devops-server:~/workspace/coreos-vagrant$ vagrant up
Bringing machine 'core-01' up with 'virtualbox' provider...
==> core-01: Importing base box 'coreos-alpha'...
==> core-01: Matching MAC address for NAT networking...
==> core-01: Setting the name of the VM: coreos-vagrant_core-01_1406017161344_20671
==> core-01: Fixed port collision for 22 => 2222. Now on port 2200.
==> core-01: Clearing any previously set network interfaces...
==> core-01: Preparing network interfaces based on configuration...
core-01: Adapter 1: nat
core-01: Adapter 2: hostonly
==> core-01: Forwarding ports...
core-01: 22 => 2200 (adapter 1)
==> core-01: Running 'pre-boot' VM customizations...
==> core-01: Booting VM...
==> core-01: Waiting for machine to boot. This may take a few minutes...
core-01: SSH address: 127.0.0.1:2200
core-01: SSH username: core
core-01: SSH auth method: private key
core-01: Warning: Connection timeout. Retrying...
core-01: Warning: Connection timeout. Retrying...
==> core-01: Machine booted and ready!
==> core-01: Setting hostname...
==> core-01: Configuring and enabling network interfaces...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mv /tmp/etcd-cluster.service /media/state/units/
Stdout from the command:
Stderr from the command:
mv: cannot move '/tmp/etcd-cluster.service' to '/media/state/units/': No such file or directory
我不知道有什么问题?
我在 coreos vm 上进行了身份验证,但此机器没有资源:/media/state/units/
.为什么?正常吗?
I'm authenticated on coreos vm and this machine not have resource: /media/state/units/
. Why? it's normal?
推荐答案
问题是我有旧版本的 CoreOS,目前 Beta 版本 367.1.0 不存在这些问题...然后我更新,一切工作成功!.
The problem it's I have old version of CoreOS, currently Beta version 367.1.0 not present these problem...then I update and all work successful!.
感谢来自 CoreOS-dev 群组的@RobSzumski 向我展示了光.
Thanks to @RobSzumski from CoreOS-dev groups to showme the light.
这篇关于CoreOS:在简单的机器调用上配置网络接口缺少资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!