Hi Alvaro- I tried as you suggested and got the same error. I did create a metadata.json file and tried pointing the vm.box_url to that file on my internal git server, but I get the same error:
The box you're adding has a name different from the name you requested. For boxes with metadata, you cannot override the name. If you're adding a box using `vagrant box add`, don't specify the `--name` parameter. If the box is being added via a Vagrantfile, change the `config.vm.box` value to match the name below. Requested name: centos-7 Actual name: On Monday, August 1, 2016 at 2:30:39 PM UTC-5, Alvaro Miranda Aguilera wrote: > > Hello, the name user/box is to be used with atlas. > > Can you test as centos-7 for config.vm.box ? > > > > On Mon, Aug 1, 2016 at 5:49 PM, Jeffrey Bilbro <[email protected] > <javascript:>> wrote: > >> I have worked through building my first Vagrant and VMware images with >> Packer - super cool! I'm now trying to create an internal Git repository >> with a Vagrantfile and am hosting the Vagrant .box file on an internal >> public Git repo, as well. However, I'm having a problem when I try to do a >> 'vagrant up' from that Vagrant file. I get the following error: >> >> The box you're adding has a name different from the name you >> >> requested. For boxes with metadata, you cannot override the name. >> >> If you're adding a box using `vagrant box add`, don't specify >> >> the `--name` parameter. If the box is being added via a Vagrantfile, >> >> change the `config.vm.box` value to match the name below. >> >> >> Requested name: foo/centos-7 >> >> Actual name: >> >> >> How do I get past this? >> >> >> My Vagrant file has these lines in it: >> >> >> config.vm.box = "foo/centos-7" >> >> config.vm.box_url = " >> https://foo.example.com/projects/INFRA/repos/images/browse/cent-7-vbox_v1.box >> " >> >> >> Thanks! >> >> >> -Jeff >> >> -- >> This mailing list is governed under the HashiCorp Community Guidelines - >> https://www.hashicorp.com/community-guidelines.html. Behavior in >> violation of those guidelines may result in your removal from this mailing >> list. >> >> GitHub Issues: https://github.com/mitchellh/packer/issues >> IRC: #packer-tool on Freenode >> --- >> You received this message because you are subscribed to the Google Groups >> "Packer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/8f5fd65e-ed3e-469a-a16e-e0ece0fa91ac%40googlegroups.com >> >> <https://groups.google.com/d/msgid/packer-tool/8f5fd65e-ed3e-469a-a16e-e0ece0fa91ac%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Alvaro > (+31)103400555 > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/b5a306d7-9929-4afe-a175-0f149d1273a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
