reberhardt7 / cplayground

GNU General Public License v3.0
118 stars 14 forks source link

Add Vagrantfile memory config for libvirt #34

Closed glen3b closed 4 years ago

glen3b commented 4 years ago

A minor tweak to the Vagrantfile.

Configure the Vagrantfile to run the VM with 2G of memory when running on the libvirt backend. I use libvirt on my daily driver and I prefer not to run multiple hypervisors, so I used the vagrant-mutate plugin to make the base box libvirt-compatible and use vagrant-libvirt to run the VM.

While this shouldn't break anything (my setup works fine even with VirtualBox not being a valid local backend), it's probably worth verifying this doesn't break installs which are missing vagrant-libvirt before merging.

reberhardt7 commented 4 years ago

Looks good! Thanks for contributing :)