我们平常通过controller上传镜像,因为控制节点磁盘不大,所以在node1上传,将控制节点的密钥拷贝过来即可
[root@node1 home]# openstack image create "CentOS6.10" --file /home/CentOS6.10.raw --disk-format raw --container-format bare --public | |
---|---|
Field | Value |
checksum | 816c13d4929651f80859e1c5b3511f1e |
container_format | bare |
created_at | 2019-06-06T02:23:12Z |
disk_format | raw |
file | /v2/images/ceb5eee3-0931-4da6-91a7-bd6eb051df9b/file |
id | ceb5eee3-0931-4da6-91a7-bd6eb051df9b |
min_disk | 0 |
min_ram | 0 |
name | CentOS6.10 |
owner | 597ece6ecc4442c49d5ef0d9080de051 |
properties | direct_url='rbd://8809dc0b-2369-46eb-9dba-672dfd736d65/images/ceb5eee3-0931-4da6-91a7-bd6eb051df9b/snap', os_hash_algo='sha512', os_hash_value='3513729d6733d130502bbf36ab1d8adaf29f7cdc2be8bb76e97b2ba17374ae6c80d80f044e8ead8585ecae27706ce442931364d677052cc5daec9375ae83e75a', os_hidden='False' |
protected | False |
schema | /v2/schemas/image |
size | 8589934592 |
status | active |
tags | |
updated_at | 2019-06-06T02:26:20Z |
virtual_size | None |
visibility | public |