Article 4YGD9 how do you update the hostname in Centos 7.6,

how do you update the hostname in Centos 7.6,

by
bebpub
from LinuxQuestions.org on (#4YGD9)
using a VMWare template the server is pre-populated with a hostanme, I need to change it. I've tried /etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-ens192, /etc/hosts.

Any help would be most appreciated.latest?d=yIl2AUoC8zA latest?i=0TFcg3PEGPw:0nCPGHz4poo:F7zBnMy latest?i=0TFcg3PEGPw:0nCPGHz4poo:V_sGLiP latest?d=qj6IDK7rITs latest?i=0TFcg3PEGPw:0nCPGHz4poo:gIN9vFw0TFcg3PEGPw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments