← 返回命令列表

Linux command

openstack-image 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List images

openstack image list

Show image details

openstack image show [ubuntu-22.04]

Create image from file

openstack image create --file [image.qcow2] --disk-format qcow2 [image_name]

Delete image

openstack image delete [image_name]

说明

openstack image manages virtual machine images in OpenStack Glance. Upload, download, and manage boot images for instances. Part of OpenStack unified CLI.

参数

list
List images.
show _name_
Show image details.
create _name_
Create/upload image.
delete _name_
Delete image.
--file _path_
Image file to upload.
--disk-format _format_
Disk format (qcow2, raw, vmdk, etc.).
--container-format _format_
Container format (bare, ovf, etc.).
--public
Make image public.

FAQ

What is the openstack-image command used for?

openstack image manages virtual machine images in OpenStack Glance. Upload, download, and manage boot images for instances. Part of OpenStack unified CLI.

How do I run a basic openstack-image example?

Run `openstack image list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does list do in openstack-image?

List images.