This repo contains Vagrantfile templates and scripts for provisioning virtual environments.
If you are unfamiliar with Vagrant, refer to the Introduction to Vagrant to get started.
Download Vagrant from the official site.
The easiest way to get started is to use base images that already have the operating system installed and configured.
You can find publicly shared boxes on Discover Vagrant Boxes.
Here is a few commands to help you get started.
- List your boxes.
vagrant box list
- Start/provision a Vagrantfile.
vagrant up
- Start/provision a Vagrantfile with a spesific provider.
vagrant up --provider hyperv|virtualbox
- Force destroy a Vagrant environment.
vagrant destroy -f
For more information, check out the official Vagrant Documentation.
Vagrantfile for a 3-node CentOS Stream 8 Linux environment. The primary node, ansible-1
, has both ansible and ansible-navigator installed and SSH access configured to the other 2 nodes.
Vagrantfile for an Ubuntu Desktop development environment with Docker, Terraform, Visual Studio Code and the IBM Cloud CLI installed.