Difference between revisions of "Hostnamectl"
Jump to navigation
Jump to search
↑ https://wiki.ubuntu.com/DebuggingSystemd
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 9: | Line 9: | ||
== Related terms == | == Related terms == | ||
* <code>[[virt-clone]]</code> | * <code>[[virt-clone]]</code> | ||
− | * [[net-hostname (virt-sysprep)]] | + | * <code>[[net-hostname (virt-sysprep)]]</code> |
* <code>[[hostname]]</code>: <code>/etc/hostname</code> | * <code>[[hostname]]</code>: <code>/etc/hostname</code> | ||
* <code>/etc/[[hosts]]</code> | * <code>/etc/[[hosts]]</code> |
Revision as of 08:55, 21 July 2020
This article is a Draft. Help us to complete it.
hostnamectl set-hostname NEW_SERVER_NAME
/etc/cloud/cloud.cfg
preserve_hostname=true
Related terms
virt-clone
net-hostname (virt-sysprep)
hostname
:/etc/hostname
/etc/hosts
host
See also
- Systemd:
systemctl
,systemd-journald
,journalctl
systemd-cat
,systemd-logind
,systemd-networkd
:networkctl
,systemd-timesyncd
,systemd-resolved
,systemd-udevd
[1],Systemd-logind: loginctl
,hostnamectl
,udevadm
,systemd-run
,portablectl
,systemd-nspawn
, systemd resource management, Timer (systemd), systemd logs,/etc/systemd/
, systemd services,systemd-mount
,/run/systemd/
,.service
,/usr/lib/systemd/
,/usr/lib/systemd/system/
,/usr/lib/systemd/system/systemd-resolved.service
,/lib/systemd/
, machinectl, systemd-oomd, systemd-analyze
Advertising: