Editing Custom Instance Display and Instance Host Names
Change custom instance display name and host name for instances you create in an instance pool.
- Open the navigation menu and click Compute. Under Compute, click Instance Pools.
- In the List scope section, select the compartment that contains the instance pool that you want to update.
- Click the name of the instance pool that you want to edit to display the details page.
- Click Edit.
-
In the Instance display name formatter field, enter a new text string that includes lowercase alphanumeric characters, symbols, and dashes. The name must include the
${launchCount}
token. For example:my-string-${launchCount}
. -
In the Instance host name formatter field, enter a new text string that includes lowercase alphanumeric characters, symbols, and dashes. The name must include the
${launchCount}
token. For example:my-string-${launchCount}
. - Click Save.
Use the instance-pool update command to change the custom display name for instances you create in an instance pool.
oci compute-management instance-pool update --instance-pool-id <INSTANCE_POOL_OCID> --display-name <INSTANCE_POOL_NAME>
For a complete list of flags and variable options for the Compute Service CLI commands, see the command line reference for Compute.
Use the UpdateInstancePool operation to change the custom display name for instances you create in an instance pool.