Hello, Either mailing list fine since we can help.
Packer will build boxes either locally or atlas, and the boxes hosted in atlas will have version. using packer push you will upload the template + scriopts to atlas, will build this for you. If you build locally, but use atlas post-provisioner, it will create the base box, provider, new version, and upload. you can see a sample json here: https://atlas.hashicorp.com/hashicorp/boxes/precise64.json Note on this, you don't need atlas to do version, if you host that json file in a server on your network, and try to add that url, it will read the info from there. Now, once you have the box, inside the box the metadata doesn't have version information, so you can: - Create manually a box in atlas ( box -> provider -> version) - Create a local hosted json like the one in https://atlas.hashicorp.com/hashicorp/boxes/precise64.json So neither atlas, packer push, atlas build, etc is a hard requirement for versions. Please let me know if you would like me to explain further in some areas, or if I leave anything unanswered. Note on vagrant. There is a Vagrant push command, this wont do anything on boxes, it will create an artifact in hosted in atlas, that will be versioned, that you later can: - Injest into packer build in atlas - Download from atlas using curl + atlas_token for auth Alvaro. On Tue, Aug 16, 2016 at 12:13 AM, Edward Evans <[email protected]> wrote: > I'm not sure correct place to post this is here or Packer but what we are > wanting to do is create boxes and then push to local http server along with > json metadata file then be able to vagrant init with the json file to get > version support, etc. Can this be done or has anyone done something > similar? > Thanks > > -- > 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/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" 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/vagrant-up/5a951e1c-60d0-49da-bcf9-3e62c4e90b91%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/5a951e1c-60d0-49da-bcf9-3e62c4e90b91%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/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" 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/vagrant-up/CAHqq0eww3kJca3mTLimfqEJc4O7-anRMmOLOxs1qtURQamGOGg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
