Help Center/ Bare Metal Server/ User Guide (Paris Region) / FAQs/ Instance FAQs/ Is the BMS Host Name with Suffix novalocal Normal?
Updated on 2022-02-22 GMT+08:00

Is the BMS Host Name with Suffix novalocal Normal?

Symptom

Host names of some BMSs have suffix .novalocal.

For example, the host name is set to abc during BMS creation. Table 1 lists the host names (obtained by running the hostname command) of BMSs created using different images and those displayed after the BMSs are restarted.

Table 1 Hostnames of BMSs created from different images

Image

Host Name Before BMS Restart

Host Name After BMS Restart

CentOS 6.8

abc

abc.novalocal

CentOS 7.3

abc.novalocal

abc.novalocal

Ubuntu 16

abc

abc

Host names of BMSs created from some types of images have suffix .novalocal, while others do not.

Troubleshooting

This is a normal phenomenon.

The static host name of a Linux BMS is user-defined and injected using Cloud-Init during the BMS creation. According to the test results, Cloud-Init adapts to OSs differently. As a result, hostnames of some ECSs have suffix .novalocal, while others do not.

If you want to ensure that all host names do not have suffix .novalocal, you can change the hostname. For details, see Changing the Name of a BMS