hostnamectl Flashcards
1
Q
hostnamectl
A
hostnamectl may be used to query and change the system hostname and related settings.
2
Q
hsotnamectl
–no-ask-password
- H, –host=[USER@]HOST
- M, –machine=CONTAINER
–transient, Only set transient hostname
–static, Only set static hostname
–pretty, Only set pretty hostname
A
hostnamectl [COMMANDS]
status, Show current hostname settings.
set-hostname NAME, Set system hostname.
set-icon-name NAME, Set icon name for host.
set-chassis NAME, Set chassis type for host.
set-deployment NAME, Set deployment environment for host.
set-location NAME, Set location for host.