Editing Custom Images
Edit a Compute custom image in an Oracle Cloud Infrastructure compartment.
- On the Compute custom images list page, select the custom image that you want to edit. If you need help finding the custom images list page, see Listing Custom Images.
- Select the custom image that you're interested in.
- Select Edit details.
- Edit the name. Avoid entering confidential information.
- Add and remove compatible shapes for the custom image. To configure the number of OCPUs and amount of memory that users can select when they use this image on a flexible shape, select the down arrow in the row for the shape. Then, enter values in the fields for minimum and maximum OCPU count and memory.
-
Select Save changes.
Note
After you add shape compatibility to an image, test the image on the shape to ensure that the image actually works on the shape. Some images (especially Windows) might never be cross-compatible with other shapes because of driver or hardware differences.
Use the image update command and required parameters to edit a custom image:
oci compute image update --from-json <file://path/to/file.json>
<file://path/to/file.json> is the path to a JSON file that defines the instance details. For information about how to generate an example of the JSON file, see Advanced JSON Options.
For a complete list of flags and variable options for the Compute service CLI commands, see the command line reference for Compute.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
Use these API operations to edit instances: