• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. User Guide
  4. FAQs
  5. General FAQs
  6. Is the BMS Host Name with Suffix novalocal Normal?

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