Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit ebff530

Browse files
ahsan518jascott1
authored andcommitted
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>
1 parent 859237b commit ebff530

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

clr-k8s-examples/vagrant.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,16 @@ echo "vhost_net" | sudo tee -a /etc/modules
1919
Download the latest Debian package from https://www.vagrantup.com/downloads.html and install it followed by vagrant-libvirt
2020
```bash
2121
sudo dpkg -i vagrant_${VER}_x86_64.deb
22-
sudo vagrant plugin install vagrant-libvirt
22+
vagrant plugin install vagrant-libvirt
2323
```
24+
Make sure to add the user to the default group
25+
```bash
26+
usermod --append --groups libvirt `whoami`
27+
```
28+
2429
Run vagrant
2530
```bash
26-
sudo vagrant up --provider=libvirt
31+
vagrant up --provider=libvirt
2732
```
2833

2934
Note, in order to spin up vagrant to use different CPUS and MEMORY for individual VM's:

0 commit comments

Comments
 (0)