Now, just run “vagrant version” and you should see a message that tells you the version of Vagrant and says “you’re running an up-to-date version of Vagrant!”
Open a terminal, and run the following: dnf install -y vagrant-libvirt vagrant Setting Up Vagrant on Fedora 21įedora 21 has packaged for Vagrant, so installing Vagrant takes just a few commands. If you’re on Mac or Windows, you can find the downloads and installation instructions on the Vagrant site. You’ll also, of course, need Vagrant installed. That should be corrected reasonably soon, but the existing images are perfectly cromulent Vagrant boxes. Note that, currently, the images don’t end with the standard “.box” suffix.
If you’re on Windows or Mac OS X, you need the VirtualBox image. If you’re on Fedora 21, you’ll most likely want the libvirt image. You want to select one of the links for Vagrant Images.
The alpha images are available via the Cloud pre-release download page. If not, though, read on – you may find Vagrant to be pretty useful. Vagrant works with a number of “providers” – such as KVM/libvirt, VirtualBox – and “ boxes” that are basically virtual machine base images with a light touch of special sauce.Ī lot of folks are already using Vagrant to manage their development environment – if you’re one of those folks, this article may be old news for you. Vagrant is a tool that makes it easy to manage a development environment, and even share that configuration with others. What we want is a way to spin up an environment quickly, replicate it easily, and dispose of it when we’re done. Virtual machines and containers are fantastic to use to set up development and testing environments, but creating virtual machines manually can be slow and tedious. Ready to try out one of the Vagrant boxes? We’ll step through downloading and running the boxes for libvirt/KVM and VirtualBox. While we’re a few months away from the final release, we have an alpha out last week and test candidates for Fedora 22 beta spinning up as we speak.
Boxes listsįeel free to leave a comment if you have something to add.One of the new offerings with the Fedora 22 release is a Vagrant box for the Atomic host. PuPHPetĪ simple GUI to set up virtual machines for PHP Web development (Puppet). Rove.io is a service that allows you to pregenerate typical Vagrant builds (Chef). (Thanks to ProvidersĪ tool for easily (and repeatedly) building custom Vagrant base boxes, KVMs, and virtual machine images. (Thanks to vagrant-cachier vagrant plugin install vagrant-cachierĪ Vagrant plugin that helps you reduce the amount of coffee you drink while waiting for boxes to be provisioned by sharing a common package cache among similiar VM instances. vagrant-omnibus vagrant plugin install vagrant-omnibus Vagrant will automatically run it before any provisioning step. vagrant-librarian-chef vagrant plugin install vagrant-librarian-chef
vagrant-berkshelf vagrant plugin install vagrant-berkshelfīerkshelf integration. This plugin will automatically install (or just check that versions are the same) the host's VirtualBox Guest Additions on the guest system. Very useful! Plugins vagrant-vbguest vagrant plugin install vagrant-vbguest I use this to deploy my apps from inside the box. Forward your SSH keys into Vagrant box _agent = true So, please, give each of your boxes an unique IP address. This may be due to duplicated records in /etc/exports (when you are using the same IP address across all of your boxes). Note Some people have reported problems with permissions. Use NFS for syncing folders config.vm.synced_folder "~/Dropbox", "/Dropbox", :nfs => true When vagrant up is called and the box is not found, this option is used to download the box. This is used if the box doesn't already exist. Also downstairs are the lists of tools, services and other interesting things :) Config options Provide default box url config.vm.box_url = "" This is the list of Vagrant configuration options and plugins which I found very useful.