|
Size: 1540
Comment:
|
Size: 1809
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 4: | Line 4: |
| We want to build official Debian base boxes for [[Vagrant]] that shall be available in Vagrant the cloud backend, and maybe via debian-cd. | We want to build official Debian base boxes for [[Vagrant]] that shall be available in Atlas, the Vagrant cloud backend, and maybe via debian-cd. |
| Line 7: | Line 7: |
| * [[http://docs.vagrantup.com/v2/virtualbox/boxes.html|Upstream recommendation about Vagrant base boxes]] | |
| Line 10: | Line 9: |
| ==== Available Images ==== | ==== Content ==== Debian packages with priority Required, Important, Standard and: |
| Line 12: | Line 13: |
| Vanilla Vagrant Base boxes for Virtualbox (only stuff from main + tasksel "standard") are available in Vagrant cloud. These boxes are uploaded by a Debian Maintainer but have no offical status at the momment. | * [[Chef]] and [[Puppet]] provisioners, python-apt for [[Ansible]], as specified in [[http://anonscm.debian.org/cgit/cloud/debian-vm-templates.git/tree/packer-virtualbox-vagrant/http/vanilla-debian-8-jessie-preseed.cfg|the preseed file we use]] * vagrant unix user, setup according to [[http://docs.vagrantup.com/v2/boxes/base.htmll|Upstream recommendations]] * Speed improvements, such as tweak sshd to prevent DNS resolution (speed up logins) and remove 5s grub timeout to speed up booting * Virtual Box Guest additions, build with [[DKMS]] using the virtualbox-guest-additions-iso package * Disk size improvement, such as removing kernel-headers and build-essential after the dkms step |
| Line 14: | Line 19: |
| * https://atlas.hashicorp.com/debian If you have Vagrant installed you get Debian Jessie very quickly with {{{ vagrant init debian/jessie64 vagrant up vagrant ssh }}} |
General guidelines
We want to build official Debian base boxes for Vagrant that shall be available in Atlas, the Vagrant cloud backend, and maybe via debian-cd.
Why do we need official base boxes as seen by the problem of images from the docker.io registry
Current Status
Content
Debian packages with priority Required, Important, Standard and:
?Chef and Puppet provisioners, python-apt for ?Ansible, as specified in the preseed file we use
vagrant unix user, setup according to Upstream recommendations
- Speed improvements, such as tweak sshd to prevent DNS resolution (speed up logins) and remove 5s grub timeout to speed up booting
Virtual Box Guest additions, build with ?DKMS using the virtualbox-guest-additions-iso package
- Disk size improvement, such as removing kernel-headers and build-essential after the dkms step
Build process
The boxes are currently with Packer from the following git repository http://anonscm.debian.org/cgit/cloud/debian-vm-templates.git/ and uploaded to Hashicorps's Atlas.
DFSG
As the Building process requires the non-free virtualbox-guest-additions-iso package, are suitable for 'contrib', but not for 'main'
Security
When using the vagrant command line tool, boxes are downloaded via HTTPS. There is no kind of GPG signing.
Plan
We use this trello board: https://trello.com/b/lVRI6QJt/offical-debian-vagrant-base-boxes
