Skip to content

Odilhao/ex294-rhce-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cloning the repo

cd ~
git clone https://github.com/Odilhao/ex294-rhce-lab.git
cd ex294-rhce-lab

ENV PREP

  1. Installing Libvirt
sudo yum install libvirt
sudo systemctl enable libvirtd --now
  1. Creating the Network for this LAB
sudo virsh net-destroy ex294
sudo virsh net-undefine ex294
sudo virsh net-define --file libvirt/net-ex294.xml
sudo virsh net-start ex294
sudo virsh net-autostart ex294
  1. Downloading the Centos 8 Image
sudo wget http://mirror.rackspace.com/CentOS/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-boot.iso -O /var/lib/libvirt/images/CentOS-8.1.1911-x86_64-boot.iso
  1. Creating the Servers:

Bastion

sudo bash vms/bastion.sh

Node-1

sudo bash vms/node-1.sh

Node-2

sudo bash vms/node-2.sh

Node-3

sudo bash vms/node-3.sh

Wait from 15 to 30 minutes, depending on your network speeds.

Acessing the Env

The servers are all created with the root password ansible.

ssh [email protected]

From the bastion you can check the DNS for all nodes:

host node-1.ex294.lab.local
host node-2.ex294.lab.local
host node-3.ex294.lab.local

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages