2.152. openstack image set


usage: openstack image set [-h] [--name <name>] [--min-disk <disk-gb>]
                           [--min-ram <ram-mb>]
                           [--container-format <container-format>]
                           [--disk-format <disk-format>]
                           [--protected | --unprotected]
                           [--public | --private] [--property <key=value>]
                           [--tag <tag>] [--architecture <architecture>]
                           [--instance-id <instance-id>]
                           [--kernel-id <kernel-id>] [--os-distro <os-distro>]
                           [--os-version <os-version>]
                           [--ramdisk-id <ramdisk-id>]
                           [--deactivate | --activate] [--project <project>]
                           [--project-domain <project-domain>]
                           <image>
Copy to Clipboard Toggle word wrap
Set image properties

Positional arguments

<image>


        Image to modify (name or ID)

Optional arguments

-h, --help


        show this help message and exit

--name <name>


        New image name

--min-disk <disk-gb>


        Minimum disk size needed to boot image, in gigabytes

--min-ram <ram-mb>


        Minimum RAM size needed to boot image, in megabytes

--container-format <container-format>


      Image container format (default: bare)

--disk-format <disk-format>


      Image disk format (default: raw)

--protected


        Prevent image from being deleted

--unprotected


        Allow image to be deleted (default)

--public


        Image is accessible to the public

--private


        Image is inaccessible to the public (default)

--property <key=value>


      Set a property on this image (repeat option to set
      multiple properties)

--tag <tag>


        Set a tag on this image (repeat option to set multiple
      tags)

--architecture <architecture>


      Operating system architecture

--instance-id <instance-id>


      ID of server instance used to create this image

--kernel-id <kernel-id>


      ID of kernel image used to boot this disk image

--os-distro <os-distro>


      Operating system distribution name

--os-version <os-version>


      Operating system distribution version

--ramdisk-id <ramdisk-id>


      ID of ramdisk image used to boot this disk image

--deactivate


        Deactivate the image

--activate


        Activate the image

--project <project>


        Set an alternate project on this image (name or ID)

--project-domain <project-domain>


      Domain the project belongs to (name or ID). This can
      be used in case collisions between project names
      exist.

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat