diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -181,49 +181,21 @@ Vagrant tools must be installed. ``` -apt install vagrant nfs-kernel-server +apt install nfs-kernel-server libvirt-daemon-system qemu-kvm vagrant vagrant-libvirt ``` Note: `nfs-kernel-server` is needed to export and share the local /tmp/puppet to the vm -Multiple provisioners exist. We will focus on 2 for now, virtualbox the default -and libvirt for now (we had an history of using this one in the past). +Multiple provisioners exist. We will focus on the one packaged within debian, +libvirt for now (we had an history of using this one in the past). -#### virtualbox - -On a debian based environment, -[a specific debian repository must be configured](https://www.virtualbox.org/wiki/Linux_Downloads): - -``` -apt install virtualbox-6.0 linux-headers-$(uname --kernel-release) -``` - -Note: -- 2020-09-17 vagrant (buster) is not working with virtualbox 6.1, so we use - `virtualbox-6.0` -- `linux-headers` package is required for the vbox guest additions - -#### libvirt - -Already part of debian so: - -``` -apt install libvirt-daemon-system qemu-kvm vagrant=2.2.3+dfsg-1 vagrant-libvirt -``` - -Note: -- Use the vagrant packaged packaged in debian stable (not hashicorp's) -- Add your user to the libvirt group. +Note that you need to add your user to the `libvirt` group: ``` sudo usermod --append --groups libvirt `whoami` ``` -``` -usermod -a -G libvirt $USER -``` - ### Usage #### Prepare the puppet environment @@ -263,11 +235,11 @@ $ vagrant status Current machine states: -staging-webapp running (virtualbox) -staging-worker0 running (virtualbox) +staging-webapp running (libvirt) +staging-worker0 running (libvirt) staging-deposit not created (libvirt) -prod-worker01 not created (virtualbox) -test poweroff (virtualbox) +prod-worker01 not created (libvirt) +test poweroff (libvirt) This environment represents multiple VMs. The VMs are all listed above with their current state. For more information about a specific