User Tools

Site Tools


Sidebar

openstack:create_image_cli

This is an old revision of the document!


Openstack create image from CLI

[root@localhost ~(keystone_admin)]# source ~/keystonerc_admin
[root@localhost ~(keystone_admin)]# openstack image list
+--------------------------------------+---------+--------+
| ID                                   | Name    | Status |
+--------------------------------------+---------+--------+
| 4a076a31-1fec-4f26-b002-ff2cd4b22319 | CentOS7 | active |
| 3561ae33-e7b0-421a-a2b7-f16a034580a1 | testing | active |
+--------------------------------------+---------+--------+
openstack image create --disk-format qcow2 --container-format bare --public --file /var/lib/libvirt/images/centos7-oscontroller-pavel.qcow2  CentOS7
openstack/create_image_cli.1620484341.txt.gz · Last modified: 2021/05/08 16:32 by admin