This document describes how to build Bahmni Vagrant Box using packer. Packer is used to build images. Packer installs and configures all the software for a machine at the time the image is built. Packer also has the ability to take the results of a image and turn it into a vagrant box. For more information on packer check https://www.packer.io/intro/index.html
This will create a template.json file inside the packer directory. If the template.json is already there in the packer folder it will create template_rendered.json file.
From with in the packer directory run the below command. Before running the below command need to delete one and two set of lines from template_rendored.json file as it will try to push the box to Atlas and expects the credentials.
cd packer
packer build template_rendered.json
Once we run the above command, packer will start building the Bahmni Vagrant Box by downloading the CentOS image from remote repository. The entire process will take at least one hour.