Standard image from http://releases.ubuntu.com/16.04/ with:
- VBoxGuestAdditions 5.0.x
- 10G disk
- Predictable network interface names turned OFF (uses old style eth0, eth1)
vagrant
user and password
- Install packer.io
- Run
packer build ubuntu-16.04-server-amd64.json
- Save the iso file inside the iso directory: iso/ubuntu-16.04-server-amd64.iso. Packer will first look there, before downloading http://releases.ubuntu.com/16.04/ubuntu-16.04-server-amd64.iso.
- Make sure the md5 is correct.
{
"type": "atlas",
"artifact": "{{ user atlas_username
}}/ubuntu-16.04-server-amd64",
"artifact_type": "vagrant.box",
"metadata": {
"version": "{{ user version
}}",
"description": "Ubuntu 16.04 (Xenial Xerus) Server. Baked with https://github.com/MetalArend/xenial\n - ready for use in vagrant",
"created_at": "{{ timestamp }}",
"provider": "virtualbox"
}
}