Difference between revisions of "Hostnamectl"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
Examples:
+
== Examples ==
 
* <code>hostnamectl set-hostname NEW_SERVER_NAME.YOUR_DOMAIN.COM</code>
 
* <code>hostnamectl set-hostname NEW_SERVER_NAME.YOUR_DOMAIN.COM</code>
  
 +
 +
hostnamectl
 +
    Static hostname: VM_NAME1
 +
Transient hostname: VM_NAME2
 +
          Icon name: computer-vm
 +
            Chassis: vm
 +
        Machine ID: 55b9165a7ae241bf9b59adaf1d93a867
 +
            Boot ID: t46f00f0acda40a9b2aaecf3fec1b512
 +
    Virtualization: [[vmware]]
 +
  Operating System: [[Ubuntu 20.04.1]] LTS
 +
            Kernel: Linux 5.4.0-53-generic
  
 
  <code>[[/etc/cloud/cloud.cfg]]</code>
 
  <code>[[/etc/cloud/cloud.cfg]]</code>

Revision as of 12:52, 25 February 2021

Advertising: