You can also set Pretty host name with quotation marks. When setting hostname using hostnamectl command, spaces are be replaced with “-” and special characters removed.Īrchitecture: x86-64 Set Pretty host name This will alter static, and transient host names alike. See example below: sudo hostnamectl set-hostname To set all the host names on your system, the following command is used: sudo hostnamectl set-hostname Operating System: Red Hat Enterprise Linux 8.0 Beta (Ootpa)ĬPE OS Name: cpe:/o:redhat:enterprise_linux:8.0:betaĪrchitecture: x86-64 Set hostname on RHEL/CentOS 8|7
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |