Ubuntu 18.04 - Vagrant Install using libvert Plugin
Ubuntu 18.04 - Vagrant Install using libvert Plugin
Dependenciessudo apt install build-essential vagrant ruby-libvirt
sudo apt install qemu libvirt-bin ebtables dnsmasq-base
sudo apt install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev
Install plugin
vagrant plugin install vagrant-libvirt
Download vagrant box
vagrant box add generic/ubuntu1804 --provider=libvirt
Download vagrant file
vagrant init generic/ubuntu1804
Start Vagrant
vagrant up
# if you have multiple providers
vagrant up --provider=libvirt
Destroy VM
vagrant destroy
Note:
You might consider changing directories. You can only have one Vagrant file in a directory and you might want to organize a bit.
Refrences
https://github.com/vagrant-libvirt/vagrant-libvirt
https://computingforgeeks.com/using-vagrant-with-libvirt-on-linux/
Comments
Post a Comment
Comments with irrelevant links will be deleted.