First time here? Check out the FAQ!
![]() | 1 | initial version |
You can use User data
scripts. The user data scripts that starts with #cloud-config
is interpreted by cloud-init as cloud-config format and it cloud-init is a package that is specifically designed for configurations at boot time.
#cloud-config
hostname: xyz
This will simply change your hostname to provided name, you need to supply this script in userdata section.
Quoted from official site:
After the server is built, if you change the server name in the API or change the host name directly, the names are not updated in the dashboard.
![]() | 2 | No.2 Revision |
You can use User data
scripts. The user data scripts that starts with #cloud-config
is interpreted by cloud-init as cloud-config format and it cloud-init is a package that is specifically designed for configurations at boot time.
#cloud-config
hostname: xyz
This will simply change your hostname to provided name, you need to supply this script in userdata section.
Quoted from official site:
After the server is built, if you change the server name in the API or change the host name directly, the names are not updated in the dashboard.