vagrant centos7.2 Vagrantfile -
i try setup vagrant centos7.2.
i've found on atlas: https://atlas.hashicorp.com/brightcove/boxes/centos7.2 when set on vagrantfile with
config.vm.box = "brightcove/centos7.2"
and
config.vm.box_url = "https://atlas.hashicorp.com/brightcove/boxes/centos7.2"
i error:
vagrant_centos$ vagrant bringing machine 'default' 'virtualbox' provider... ==> default: box 'brightcove/centos7.2' not found. attempting find , install... default: box provider: virtualbox default: box version: >= 0 ==> default: loading metadata 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) provider: virtualbox default: downloading: https://atlas.hashicorp.com/brightcove/boxes/centos7.2/versions/1.0.14/providers/virtualbox.box error occurred while downloading remote file. error message, if any, reproduced below. please fix error , try again. couldn't resolve host 'xivagrantbox.vidmark.local' vagrant_centos$
it seems box not correctly hosted anywhere. on atlas page, there's warning mentioning
atlas failed verify existence of external box. may have been moved , no longer available.
and if try go download page, tries redirect xivagrantbox.vidmark.local site not exist
$ curl https://atlas.hashicorp.com/brightcove/boxes/centos7.2/versions/1.0.14/providers/virtualbox.box <html><body>you being <a href="http://xivagrantbox.vidmark.local/vagrant-boxes/bc-ops-base-centos-7.2.1511.box">redirected</a>.</body></html>
how move there:
- you might want contact provider of box can fix link
- you can search box
- you can build box using tool packer, https://github.com/boxcutter/centos has template centos7.2
Comments
Post a Comment