mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-08-19 13:36:43 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user