Installing VirtualBox and Vagrant

VirtualBox is a very important piece of software, which we refer to as a provider. Its job is to do the heavy lifting in creating and maintaining virtual machines and environments. Vagrant is essentially a wrapper around a provider (in our case, VirtualBox) and exposes a powerful API that allows you to create and manage virtual machines through code and configuration, such as the Vagrantfile.

Once VirtualBox is installed, we will have very little to do with it. It will sit in the background and await commands from Vagrant to manage virtual machines.

In this chapter, we will start to get our hands dirty with Vagrant. We will look at the following topics:

  • Finding the version of your OS
  • Finding your CPU architecture ...

Get Hands-On DevOps with Vagrant now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.