Hope you are doing well.

Please open the network file by giving the command below and  change the hostname

sudo vi /etc/sysconfig/network

After changing the hostname press Esc +Shift + :wq

Now restart the virtual machine.

I think this issue will be resolved.

Please let me know if you have any further issue regarding this.

Feel free to contact us in case you have any query. 


Kindly share your feedback by clicking on either of the smiley's.