Vagrant Libvirt Instructions update (#189)

* Vagrant Libvirt Instructions update

This patch adds the users to the default group so we dont
have to use sudo to start the vagrant, as using sudo is not
the most optimal route for gems to be properly configured.

Signed-off: Syed Ahsan<ahsanmohsin04@yahoo.com>
This commit is contained in:
Syed Ahsan
2019-10-08 11:10:50 -07:00
committed by Justin Scott
parent 859237b189
commit ebff530fa4
+7 -2
View File
@@ -19,11 +19,16 @@ echo "vhost_net" | sudo tee -a /etc/modules
Download the latest Debian package from https://www.vagrantup.com/downloads.html and install it followed by vagrant-libvirt
```bash
sudo dpkg -i vagrant_${VER}_x86_64.deb
sudo vagrant plugin install vagrant-libvirt
vagrant plugin install vagrant-libvirt
```
Make sure to add the user to the default group
```bash
usermod --append --groups libvirt `whoami`
```
Run vagrant
```bash
sudo vagrant up --provider=libvirt
vagrant up --provider=libvirt
```
Note, in order to spin up vagrant to use different CPUS and MEMORY for individual VM's: