Hello,
I think that the solution to exercise 14 is wrong. This exercise asks the following:
EX 14: Now, update the transient hostname
to the static hostname
on this system.
As I understand I should copy the transient hostname value to the static hostname parameter. However, in the exercise solution, the opposite is done:
sudo hostnamectl set-hostname dev-host01
Please, verify this.
Hi @irianleyva
What makes you think that? As can be seen below, the static hostname has been set. If it had done the opposite, then transient hostname would be centos-host
[bob@dev-host01 ~]$ sudo hostnamectl set-hostname dev-host01
[bob@dev-host01 ~]$ hostnamectl
Static hostname: dev-host01
Icon name: computer-container
Chassis: container
Machine ID: 34724fe284254893a6b7a1cfc1f2aaba
Boot ID: c3d2243f762a4369a7114a6ca8bad075
Virtualization: container-other
Operating System: CentOS Stream 8
CPE OS Name: cpe:/o:centos:centos:8
Kernel: Linux 5.4.0-1089-gcp
Architecture: x86-64
[bob@dev-host01 ~]$
Hi @Alistair_KodeKloud,
I understand from the exercise order that I should update the transient hostname, not the static hostname. Maybe it’s an interpretation problem since English is not my native language.
I’ll see if the wording can be improved.
1 Like