Vagrant Box
The Vagrant box is a VirtualBox image with clean OS, preinstalled inside. It is a playground for our future modifications during provisioning.
Creation process
- Create virtual machine, named
CIKit Ubuntu 16.04 LTS
, disabled audio and USB. - Install Ubuntu, downloaded from https://www.ubuntu.com/download/server.
- Set password for
root
andvagrant
users tovagrant
. - Permit
vagrant
user to runsudo
without password (/etc/sudoers.d/vagrant
). - Add official public key of Vagrant to
/home/vagrant/.ssh/authorized_keys
. - Install OpenSSH.
- Install VirtualBox Guest Additions.
Nice, detailed instruction available at https://blog.engineyard.com/2014/building-a-vagrant-box
Comments