RedHat Linux (RHEL) install

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
franky_IT
Posts: 1
Joined: Fri Aug 21, 2020 3:01 pm

RedHat Linux (RHEL) install

Post by franky_IT » Fri Aug 21, 2020 3:34 pm

Hello!

This is my first time posting in this forum. Forgive me if I missed something in the documention, videos, and other posts in the forums.

I have a RHEL distro that I would like to install on eve. I have done all the commands and procedures, but cannot get the image to load as a node opition in the labs. Any suggestions?


Here is the process I followed:
Redhat Linux - rhel-8.3-beta
1)Create new image directory
mkdir /opt/unetlab/addons/qemu/rhel-8.3-beta/

2)Use WinSCP to copy distro ISO image to new directory
path: /opt/unetlab/addons/qemu/rhel-8.3-beta/

3)From CLI change to new directory
cd /opt/unetlab/addons/qemu/rhel-8.3-beta/

4)Rename the dirstro to cdrom.iso
mv rhel-8.3-beta.iso cdrom.iso

5)From CLI change to new directory
cd /opt/unetlab/addons/qemu/rhel-8.3-beta/

6)Create new HDD virtioa.qcow2. Example below is HDD 30Gb. Size you can change per your needs
/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 30G

7)Create new lab and add newly created rhel-8.3-beta node

8)Connect it to your home LAN cloud/internet, this need to get updates from internet

9)Start node in lab and do install of your Linux, customize it as you like, as you have connected
it to home LAN and internet this install will be like normal Linux installation.


10)Remove cdrom.iso from /opt/unetlab/addons/qemu/rhel-8.3-beta/
cd /opt/unetlab/addons/qemu/rhel-8.3-beta/
rm -f cdrom.iso


11) Fix permissions
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

Thank you for the help!

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: RedHat Linux (RHEL) install

Post by Uldis (UD) » Sat Aug 22, 2020 7:10 am

Here is your mistake

1) From CLI create new directory
mkdir /opt/unetlab/addons/qemu/rhel-8.3-beta/

Image folder must have name:

mkdir /opt/unetlab/addons/qemu/linux-rhel-8.3.beta

and you will see your image under linux nodes

https://www.eve-ng.net/index.php/docume ... ost-image/

Post Reply