Fedora 19,20 - changing the hostname

From MyWiki
Jump to: navigation, search
  1. hosstnamectl status

  2. hostnamectl set-hostname --pretty new_hostname
  3. hostnamectl set-hostname --transient new_hostname
  4. hostnamectl set-hostname --static new_hostname

( A reboot may be required )