New command: hostnamectl

This commit is contained in:
Starbeamrainbowlabs
2017-05-07 09:45:47 +01:00
committed by Agniva De Sarker
parent 73ec3a8811
commit 8125f34ee7

View File

@@ -0,0 +1,11 @@
# hostnamectl
> Get or set the hostname of the computer.
- Get the hostname of the computer:
`hostnamectl`
- Set the hostname of the computer:
`sudo hostnamectl set-hostname "{{some_hostname}}"`