Fedora 44

Set Hostname2026/05/11

 

If you would like to change Host Name of your System, set like follows.

[1] Change hostname. (but when System restarted, it will be back)
# show current hostname

[root@localhost ~]#
localhost.localdomain
# change hostname

[root@localhost ~]#
hostname dlp.srv.world

[root@localhost ~]#
dlp.srv.world    
# changed

[2] Change hostname permanently.
[root@localhost ~]#
hostnamectl set-hostname dlp.srv.world
# show settings

[root@localhost ~]#
     Static hostname: dlp.srv.world
           Icon name: computer-vm
             Chassis: vm
          Machine ID: 6274a4c7f99f46dd910f8c6519e5be8f
             Boot ID: e2bcb645d35f41a78c1a021bcbdcce5e
        Product UUID: 967dd6bc-439a-485c-8c76-92ea97605d0e
      Virtualization: kvm
    Operating System: Fedora Linux 44 (Server Edition)
         CPE OS Name: cpe:/o:fedoraproject:fedora:44
      OS Support End: Wed 2027-05-19
OS Support Remaining: 1y 1w
              Kernel: Linux 6.19.14-300.fc44.x86_64
        Architecture: x86-64
     Hardware Vendor: Red Hat
      Hardware Model: KVM
        Hardware SKU: 9.6.0
    Hardware Version: RHEL-9.6.0 PC _Q35 + ICH9, 2009_
    Firmware Version: 1.16.3-4.el9
       Firmware Date: Tue 2014-04-01
        Firmware Age: 12y 1month 1w 2d
Matched Content