This is a Vagrant configuration file for setting up a lab environment with two VMs: one running Ubuntu and the other running CentOS.
Before you can use this configuration file, you must have the following installed on your system:
- Clone this repository to your local machine.
- Navigate to the cloned directory.
- Run the command
vagrant up
.
This will spin up two VMs, one running Ubuntu and the other running CentOS, each with their own configuration.
The Vagrantfile contains the following configuration:
- Ubuntu VM:
- Box:
ubuntu/focal64
- Network: Public network with IP address
192.168.1.121
- Provisioner: Ansible playbook
playbook.yml
- Box:
- CentOS VM:
- Box:
centos/7
- Network: Public network with IP address
192.168.1.131
- Provisioner: Shell script to install packages and configure the environment.
- Box:
This project is licensed.