Functional restrictions
Updated at:2025-10-20
Overview
Instances support the function of modifying the hostname. Before performing operation, please refer to the following limitations:
- Changing the hostname via the console is not supported for CentOS-6, Ubuntu-14, Debian-7, and openSUSE-42.3.
- For Ubuntu-16, Debian-8, and Debian-9, if the hostname is modified within the virtual machine, any modifications made through the console will not take effect.
- CentOS-7, CentOS-8, Ubuntu-18, and Debian-10 allow hostname modifications via the console and support further modifications via the console even after changes are made within the virtual machine.
| Distribution version | cloud-init | old hostname | new hostname | Change successfully | Others |
|---|---|---|---|---|---|
| centos-6.5 | 0.7.5 | instance-BCCsalmon | instance-BCChoney | No | |
| centos-6.5 | 0.7.5 | instance-bccsalmon | instance-bcchoney | No | |
| centos-6.8 | 0.7.5 | instance-BCCsalmon | instance-bcchoney | No | |
| centos-6.8 | 0.7.5 | instance-bccsalmon | instance-bcchoney | No | |
| centos-7.2 | 18.5 | instance-BCCsalmon | instance-BCChoney | Yes | After modifying the hostname within the virtual machine, further changes via the console are supported. |
| centos-7.2 | 18.5 | instance-bccsalmon | instance-bcchoney | Yes | |
| centos-7.6 | 18.5 | instance-BCCsalmon | instance-BCChoney | Yes | |
| centos-7.6 | 18.5 | instance-bccsalmon | instance-bcchoney | Yes | |
| centos-8.0 | 18.5 | instance-BCCsalmon | instance-BCChoney | Yes | |
| centos-8.0 | 18.5 | instance-bccsalmon | instance-bcchoney | Yes | |
| debian-8.1 | 0.7.6 | instance-BCCsalmon | instance-BCChoney | No | If the hostname is altered within the virtual machine, modifications through the console are not possible. |
| debian-8.1 | 0.7.6 | instance-bccsalmon | instance-bcchoney | Yes | |
| debian-9.9 | 0.7.9 | instance-BCCsalmon | instance-BCChoney | Yes | If the hostname is altered within the virtual machine, modifications through the console are not possible. |
| debian-9.9 | 0.7.9 | instance-bccsalmon | instance-bcchoney | Yes | |
| debian-10.3 | 18.3 | instance-BCCsalmon | instance-BCChoney | Yes | After modifying the hostname within the virtual machine, further changes via the console are supported. |
| debian-10.3 | 18.3 | instance-bccsalmon | instance-bcchoney | Yes | |
| ubuntu-16.04 | 0.7.8 | instance-BCCsalmon | instance-BCChoney | Yes | If the hostname is altered within the virtual machine, modifications through the console are not possible. |
| ubuntu-16.04 | 0.7.8 | instance-bccsalmon | instance-bcchoney | Yes | |
| ubuntu-18.04 | 19.4 | instance-BCCsalmon | instance-BCChoney | Yes |
