【发布时间】:2023-04-05 20:50:02
【问题描述】:
我尝试用 CentOS7.2 设置一个 vagrant。
我在 Atlas 上找到了这个:https://atlas.hashicorp.com/brightcove/boxes/centos7.2 但是当我用
设置我的 VagrantFileconfig.vm.box = "brightcove/centos7.2"
和
config.vm.box_url = "https://atlas.hashicorp.com/brightcove/boxes/centos7.2"
我收到此错误:
vagrant_centos$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'brightcove/centos7.2' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'https://atlas.hashicorp.com/brightcove/boxes/centos7.2'
default: URL: https://atlas.hashicorp.com/brightcove/boxes/centos7.2
==> default: Adding box 'brightcove/centos7.2' (v1.0.14) for provider: virtualbox
default: Downloading: https://atlas.hashicorp.com/brightcove/boxes/centos7.2/versions/1.0.14/providers/virtualbox.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Couldn't resolve host 'xivagrantbox.vidmark.local'
vagrant_centos$
【问题讨论】:
标签: vagrant centos7 vagrantfile