mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-25 05:37:32 +00:00
21 lines
1.1 KiB
Text
21 lines
1.1 KiB
Text
ifdef::context[:parent-context: {context}]
|
|
:context: changing-hostname
|
|
:imagesdir: ./images
|
|
|
|
[[changing-hostname]]
|
|
= Changing Hostname
|
|
|
|
A new installation of Fedora will assign a default hostname. You may wish to set a different name for easier identification of your host(s) on a network.
|
|
|
|
There are three variations of a hostname in a Fedora system:
|
|
|
|
. A **static** name is used by default at system bootup. This name will typically be short and contain only letters, numbers and dashes.
|
|
. An optional **pretty** name can be longer and more descriptive, like "Emily's 2nd dev laptop".
|
|
. A **transient** name is assigned by the network. It is probably going to be the same as the static name, unless there are multiple hosts with the same static name on the local network. For example, if there are two hosts both with static name "localhost", one machine may be assigned a transient name of "localhost-1".
|
|
|
|
include::{partialsdir}/proc_displaying-current-hostname.adoc[leveloffset=0]
|
|
|
|
include::{partialsdir}/proc_changing-the-hostname.adoc[leveloffset=0]
|
|
|
|
ifdef::parent-context[:context: {parent-context}]
|
|
ifndef::parent-context[:!context:]
|