Search Docs...
⌘ K
OverviewDeploymentManagementOperationReference

After creating a virtual machine from the cloud-init template, power on your virtual machine and check whether the initial settings such as hostname, IP address, SSH keys, and DNS servers have taken effect. If not, refer to the following steps to check and modify the cloud-init configurations on the template.

Procedure

You need to convert the cloud-init template into a virtual machine to modify the cloud-init configurations. You can perform this conversion on the web console or AOC. The following procedure takes the web console as an example:

  1. Log in to the web console, convert the cloud-init template back to a virtual machine, and power it on.
  2. Refer to Step 3: Modifying cloud-init configuration files to modify the cloud-init configuration.
  3. Delete the /var/lib/cloud/ and /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg files to reinitialize the cloud-init runtime environment.
  4. Convert the virtual machine with cloud-init into a template and create a new virtual machine from it to test whether the initial settings have taken effect.
  5. If the settings are still not effective, repeat step 1-4 until cloud-init is configured properly.