Here I will create a ubuntu 16 64bit server image. for which altas link in fact have issue some times. So we create from ubuntu cloud image directly:
After you get where is the URL for xenial-server-cloudimg-amd64-vagrant.box, then we can use this cmd to do things.
vagrant init boxname boxurl
vagrant init ubuntu/xenial64 https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-vagrant.box less Vagrantfile vagrant up vagrant ssh
Then you install anything you want to customize your linux VM.
After every thing ready, just exit from your VM. Shutdown it and pack as a new box.
vagrant halt vagrant package --output newU64.box
So you will get a new box named as newU64.box. Now you can release this box to team and they can use init command to create a VM at their local folder.
To make your new box smaller, there are some command you can use. see this article for details: