Skip to content

A Virtual Machine using Vagrant to have a Fedora 37 distribution

Notifications You must be signed in to change notification settings

val-gfr/vagrant-fedora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

vagrant-fedora

What is Vagrant?

Using VirtualBox is a good start to learn virtualization. However, it takes time to choose and download an image, configure the virtual machine in the graphical view... That's why I strongly suggest Vagrant, an efficient solution to create virtual machine IN your shell!

Vagrant isolates dependencies and their configuration within a single disposable, consistent environment, without sacrificing any of your existing tools. To learn more about the benefits of Vagrant, read the "Why Vagrant?" introduction page. The getting started tutorials use Vagrant with VirtualBox, since it is free and available on every major platform. Vagrant can work with many other providers.

More details on the official Vagrant website.

Installation of a Fedora 37 virtual machine

To have the support of the KVM for developping LXC containers in this virtual machine, I've choosen the libvirt provider instead of VirtualBox (by default).

You can execute the following commands to install Vagrant on an Ubuntu dist:

sudo apt install virtualbox
sudo apt install vagrant

Then, you have to install the libvirt provider:

vagrant plugin install vagrant-libvirt

Finally you can launch the virtual machine thanks to the Vagrantfile:

vagrant up --provider=libvirt
vagrant ssh

Of course, you can customize the Vagrantfile for what features you want!

About

A Virtual Machine using Vagrant to have a Fedora 37 distribution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published