How to resolve error of Hostname? I'm using CentOS 8 on Oracle Virtual Box

Nikhil Maheshwari:
How to resolve error of Hostname? I’m using CentOS 8 on Oracle Virtual Box

Nikhil Maheshwari:
Solved by editing /etc/hosts

Mohamed Ayman:
Yes, you can add it to /etc/hosts file to remove the warning but the issue here that you need to provide at least 2 CPUs.